email notification not being sent