skills/create-mail-search-folder/SKILL.md
# Create Mail Search Folder Create a new mail search folder that dynamically displays messages matching a specified filter query. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: POST - **Path**: `/me/mailFolders/{mailFolder-id}/childFolders/mailSearchFolder` - **Operation ID**: `createMailSearchFolder` - **Tag**: MailSearchFolders - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:8
npx skillsauth add naftiko/microsoft-outlook-sandbox skills/create-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.
Create a new mail search folder that dynamically displays messages matching a specified filter query.
/me/mailFolders/{mailFolder-id}/childFolders/mailSearchFoldercreateMailSearchFolderMock server URL: http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/mailFolders/{mailFolder-id}/childFolders/mailSearchFolder
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 |
| Property | Type | Required | Description |
|----------|------|----------|-------------|
| @odata.type | string | Yes | Must be #microsoft.graph.mailSearchFolder |
| displayName | string | Yes | The display name of the search folder |
| filterQuery | string | Yes | OData filter query to match messages |
| sourceFolderIds | array | Yes | Array of folder IDs to search within |
| includeNestedFolders | boolean | No | Whether to include nested folders in the search |
curl -X POST "http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/mailFolders/AAMkAGI1AAAEJAAA=/childFolders/mailSearchFolder" \
-H "Authorization: Bearer {access-token}" \
-H "Content-Type: application/json" \
-d '{
"@odata.type": "#microsoft.graph.mailSearchFolder",
"displayName": "Unread Priority Mail",
"filterQuery": "isRead eq false and importance eq '\''high'\''",
"sourceFolderIds": ["AAMkAGI1AAAEJAAA="],
"includeNestedFolders": true
}'
{
"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 'high'",
"sourceFolderIds": ["AAMkAGI1AAAEJAAA="],
"includeNestedFolders": true,
"isSupported": true
}
Use this operation to create a virtual search folder that dynamically aggregates messages matching a filter query from one or more source folders. The search folder does not physically contain messages but provides a dynamic view. Specify the OData filter query to define matching criteria, the source folder IDs to search within, and whether to include nested subfolders. The response returns the newly created search folder with a 201 status code.
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