update mailer configs for production and development