adding mailer and test