Enhance invalid email detection