Are you talking about the Username portion of your own $address being reflected by $emailaddr instead of Ident? Then see this thread.
This topic does not clear my doubts.
When I am connected to a network, when I see the whois of a nickname, the real name appears (mIRC 7.54) but the email field does not appear, and the email field is filled in with mIRC.
21:03 Tiago is ~email@example.com * mIRC 7.54
21:03 Tiago on @#ptscripting
21:03 Tiago using sonaquela.ptnet.org Da Madeira para o mundo
21:03 Tiago has identified for this nick
21:03 Tiago is logged in as teco
21:03 Tiago has been idle 50secs, signed on Fri Feb 01 21:02:07 2019
21:03 Tiago End of /WHOIS list.
If this information does not appear in the whois, then what is this field currently for?