Port users_ldap_mail to v8
Fix PEP8