added a mailer logger