Change validateEmail to validate_email.