mailer changes

here mail_logs table should be generated and these fields are needed
(id,user_id,last_updated,status(mail sent or not),user_mail,comment(if
mail is not sent comment))