adding missing email address for principal

* fix #8515
* add mail only if it exists
Merge pull request #9044 from owncloud/add-missing-email-principal

adding missing email address for principal