Notification email not being sent