Get the email of current session logged in user (DOM Object?)

When login to grafana, We use username:
We are trying to get the user email address in the plugin, When calling
__$user we see its only a User ID.

Is the logged in grafana user kept somewhere on the DOM?

${} will give you the user email as referred in the the link below.

Do you know how to get it on earlier versions? on 7.2.1? was introduced on 7.4

Thank you very much for the help!