Notification email is not working every once in a while