Switch to filter for email validation