Decide whether to use LDAP or not based on email