Fix bug mailer in production env