Fix an issue with email validation.