Add helper returning pretty name or email of a key
(cherry picked from commit aa0d63322b77f355c6f8d81871d8d4c03b525b53)