adding missing email address for principal

fixes #8515 


I extracted the code part from #8734 which are unrelated.

@libasys Does this fix the reported stuff from #8515 ?
Does the web interface make us of carddav?