adds mailer to application and test email