add helper method to initialize mailer