added a better notification mailer