Working on the event based mails