trying some production environment stuff for mailer