Added optional argument to email validation to validate domain of email address