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 ?
This looks like a non-standard attribute, what's the use case here?