Updated mailer configuration for production and development