Adversaries may use stolen credentials or valid OAuth access tokens to access remote mailbox services, including Exchange Server, Microsoft 365, or Google Workspace, and search or retrieve email contents through service APIs or server-side administration workflows. This record's command examples cover Microsoft Exchange and Microsoft Graph; 'exploiting APIs' should not imply a software vulnerability, and the procedures are alternatives rather than a required chain.
Search the current user's mailbox
powershell
RESTRICTED_ACCESS_BLUR_MARKER
RESTRICTED_ACCESS_BLUR_MARKER
RESTRICTED_ACCESS_BLUR_MARKER
RESTRICTED_ACCESS_BLUR_MARKER