add error message for invalid email address and report notification type