Correct logic in email check