set whether the mail is read or not

i have a model called Reply which includes user_id, msg_id, msg,date,read_or_not

when a user read a mail i want to set the read_or_not variable true,

when a user read a mail i want to set the read_or_not variable true,

What kind of mail? Something internal of your application? Or "real" email, that you send to them? You don't get a reply for emails, at least not in a very reliable manner.