Email validator

Code to validate the email address