Added an appropriate error message for email