adding function ldap_mail

when someone auth successfully along the ldap but doesn't exist in piwigo, the piwigo user is created.
config is not yet written.