add mail support for production environment