an email validator for rails