pub fn validate_email(email: &str) -> Result<(), RuleError>