skills/list-mail-folder-messages/SKILL.md
# List Mail Folder Messages List all messages contained in a specific mail folder. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: GET - **Path**: `/me/mailFolders/{mailFolder-id}/messages` - **Operation ID**: `listMailFolderMessages` - **Tag**: MailFolders - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/mailFolders/{mailFolder-id}/me
npx skillsauth add naftiko/microsoft-outlook-sandbox skills/list-mail-folder-messagesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
List all messages contained in a specific mail folder.
/me/mailFolders/{mailFolder-id}/messageslistMailFolderMessagesMock server URL: http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/mailFolders/{mailFolder-id}/messages
Authorization: Bearer {access-token}Mail.ReadMail.ReadWrite| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| mailFolder-id | string | Yes | The unique identifier of the mail folder |
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| $top | integer | No | Maximum number of messages to return |
| $skip | integer | No | Number of messages to skip for pagination |
| $select | string | No | Comma-separated list of properties to include |
| $filter | string | No | OData filter expression to filter results |
| $search | string | No | Search expression to find matching messages |
| $orderby | string | No | Property and direction to sort results by |
curl -X GET "http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/mailFolders/AAMkAGI1AAAEJAAA=/messages?$top=10&$select=subject,from,receivedDateTime" \
-H "Authorization: Bearer {access-token}"
{
"value": [
{
"id": "AAMkAGI1MSG001=",
"subject": "Project Update",
"from": {
"emailAddress": {
"name": "Jane Doe",
"address": "[email protected]"
}
},
"receivedDateTime": "2025-01-15T10:30:00Z",
"isRead": false
}
]
}
Use this operation to retrieve messages from a specific mail folder. This is useful for reading the contents of any folder including Inbox, Sent Items, or custom folders. Use query parameters to paginate, filter, search, sort, and select specific properties to optimize the response payload. Well-known folder names like "inbox" or "drafts" can be used in place of the folder ID.
tools
# Update Open Extension Update an existing open type extension on a message. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: PATCH - **Path**: `/me/messages/{message-id}/extensions/{extension-id}` - **Operation ID**: `updateOpenExtension` - **Tag**: Extensions - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/messages/{message-id}/exten
development
# Update Message Updates the properties of an existing message in the signed-in user's mailbox, such as marking it as read or changing its importance. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: PATCH - **Path**: `/me/messages/{message-id}` - **Operation ID**: `updateMessage` - **Tag**: Messages - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-outlook-mail-
development
# Update Inbox Rule Update the properties of an existing inbox message rule. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: PATCH - **Path**: `/me/mailFolders/inbox/messageRules/{messageRule-id}` - **Operation ID**: `updateMessageRule` - **Tag**: InboxRules - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/mailFolders/inbox/messageRule
development
# Update Mailbox Settings Update the user's mailbox settings such as automatic replies, locale, time zone, or working hours. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: PATCH - **Path**: `/me/mailboxSettings` - **Operation ID**: `updateMailboxSettings` - **Tag**: MailboxSettings - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/mail