fixed email validation to handle more than one email