Configured app for Production emails cleaned up ruby file