skills/update-mail-search-folder/SKILL.md
# Update Mail Search Folder Update the properties of a specific mail search folder, such as its filter query or source folders. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: PATCH - **Path**: `/me/mailFolders/{mailFolder-id}/childFolders/{childFolder-id}` - **Operation ID**: `updateMailSearchFolder` - **Tag**: MailSearchFolders - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:80
npx skillsauth add naftiko/microsoft-outlook-sandbox skills/update-mail-search-folderInstall 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.
Update the properties of a specific mail search folder, such as its filter query or source folders.
/me/mailFolders/{mailFolder-id}/childFolders/{childFolder-id}updateMailSearchFolderMock server URL: http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/mailFolders/{mailFolder-id}/childFolders/{childFolder-id}
Authorization: Bearer {access-token}Content-Type: application/jsonMail.ReadWrite| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| mailFolder-id | string | Yes | The unique identifier of the parent mail folder |
| childFolder-id | string | Yes | The unique identifier of the search folder to update |
| Property | Type | Required | Description |
|----------|------|----------|-------------|
| @odata.type | string | Yes | Must be #microsoft.graph.mailSearchFolder |
| displayName | string | No | The updated display name of the search folder |
| filterQuery | string | No | The updated OData filter query |
| sourceFolderIds | array | No | Updated array of folder IDs to search within |
| includeNestedFolders | boolean | No | Whether to include nested folders in the search |
curl -X PATCH "http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/mailFolders/AAMkAGI1AAAEJAAA=/childFolders/AAMkAGI1SEARCH01=" \
-H "Authorization: Bearer {access-token}" \
-H "Content-Type: application/json" \
-d '{
"@odata.type": "#microsoft.graph.mailSearchFolder",
"filterQuery": "isRead eq false and importance eq '\''normal'\''",
"includeNestedFolders": false
}'
{
"id": "AAMkAGI1SEARCH01=",
"displayName": "Unread Priority Mail",
"parentFolderId": "AAMkAGI1AAAAAA=",
"childFolderCount": 2,
"totalItemCount": 147,
"unreadItemCount": 12,
"isHidden": false,
"@odata.type": "#microsoft.graph.mailSearchFolder",
"filterQuery": "isRead eq false and importance eq 'normal'",
"sourceFolderIds": ["AAMkAGI1AAAEJAAA="],
"includeNestedFolders": false,
"isSupported": true
}
Use this operation to modify the properties of an existing mail search folder. You can update the filter query to change which messages are matched, modify the source folder IDs to change the search scope, update the display name, or toggle nested folder inclusion. The @odata.type property must be included in the request body. The response returns the updated search folder object.
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