Check for empty email or id