Shared Mailbox
access-shared-mailboxList emails or folders in a shared mailbox you can access, or enumerate its folder tree, to review shared messages read-only.
Instructions
List emails or folders in a shared mailbox the signed-in user can access (read-only). Returns messages from sharedMailbox (alias email) and folder (default inbox) with id/subject/from/receivedDateTime/preview, the same shape as search-emails list mode. folder takes a well-known name (inbox, sent, archive…), a custom/localized display name (e.g. Archiv), a nested path (e.g. Inbox/Vendors/Acme), or pass a raw folderId. listFolders: true enumerates the shared mailbox's folder tree (names, paths, IDs, counts), to find custom subfolders before reading them. Needs the mailbox delegated to the signed-in user in Exchange (admin-configured). outputVerbosity sets field count and count (default 25, max 50) page size. For search and filters over a shared mailbox, use search-emails with sharedMailbox set. Custom/localized names, nested paths and listFolders need the server opt-in setting OUTLOOK_SHARED_MAILBOX (work/school only); without it folder must be a well-known name or a folder ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of emails to retrieve (default: 25, max: 50) | |
| No | Alias for `sharedMailbox` (more intuitive name for the same value). | ||
| folder | No | Folder to read from (default: inbox). Accepts a well-known name, a custom/localized display name, or a nested path like `Inbox/Subfolder`. | |
| folderId | No | Exact Graph folder ID to read from (e.g. from `listFolders`). Skips name resolution; takes precedence over `folder`. | |
| listFolders | No | Enumerate the shared mailbox's full folder tree (names, paths, IDs, item counts) in place of reading messages. | |
| sharedMailbox | No | Email address of the shared mailbox (required) | |
| outputVerbosity | No | Output detail level (default: standard) |