added the loggedin user and the date on mailer.js