moved mailer template into config file