add tests and validations for the email address