Make mailer configurable