avoid exception when email is undefined

Review Request #876 — Created May 26, 2009 and submitted


Review Board SVN (deprecated)


If nor settings.LDAP_EMAIL_DOMAIN nor settings.LDAP_EMAIL_ATTRIBUTE are specified, the email variable is undefined and that causes an exception. The patch simply defines it to the empty string and logs a warning... not sure if it should be handled differently.