#least privilege
Resolving Google Chat User IDs to Emails: The Least Privilege Way
A secure strategy to resolve Google Chat User IDs to email addresses without using Domain-Wide Delegation. By combining Direct Role Assignment with Service Account Impersonation, you can maintain Least Privilege security.