Depends on D14244
Configure Phabricator to use an LDAP server for authentication, one configured with no `mail` attribute.
Set the email attribute in the LDAP config.
Perform an LDAP Import.
You should be able to import the LDAP account with the email attribute you configured. In the past, it would have failed due to no email.