refine email validation