configuring mail for production