Added changes to production environment to test for errors with email sending