enables email in production mode