The Graph API does not expose any mailbox details currently, although you can use it to fetch the details of the corresponding user. As for the issue on the screenshots, this is easily avoidable if you use unique identifiers for your objects, and part of the reason why Microsoft introduced the changes detailed in this article: https://techcommunity.microsoft.com/t5/exchange-team-blog/change-in-naming-convention-of-user-s-name-parameter/ba-p/3284733
Looks like the devs failed to follow the best practices when implementing that one in the portal...