Implemented an email validator to validate all email fields