CORE-5850: fixed a problem that was preventing email notifications from being sent