Added format validation for email.