Better validation in get_email_domain.