added mailer configs and test emailer