updated mailer for production