isUserOrEmail directive