fix a small oversight, error checking/reporting for notification email failing