Configured app for Production emails and fixed syntax