skills/update-message-rule/SKILL.md
# 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
npx skillsauth add naftiko/microsoft-outlook-sandbox skills/update-message-ruleInstall 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 an existing inbox message rule.
/me/mailFolders/inbox/messageRules/{messageRule-id}updateMessageRuleMock server URL: http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/mailFolders/inbox/messageRules/{messageRule-id}
Authorization: Bearer {access-token}Content-Type: application/jsonMailboxSettings.ReadWrite| Parameter | In | Type | Required | Description | |-----------|-----|------|----------|-------------| | messageRule-id | path | string | Yes | The unique identifier of the message rule |
| Field | Type | Description | |-------|------|-------------| | displayName | string | The updated display name of the rule | | sequence | integer | The updated execution order | | isEnabled | boolean | Whether the rule is enabled | | conditions | object | Updated conditions that trigger the rule | | actions | object | Updated actions to perform |
curl -X PATCH "http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/mailFolders/inbox/messageRules/AQAAAJ5dZqA=" \
-H "Authorization: Bearer {access-token}" \
-H "Content-Type: application/json" \
-d '{
"displayName": "Forward from manager (updated)",
"isEnabled": false
}'
{
"id": "AQAAAJ5dZqA=",
"displayName": "Forward from manager (updated)",
"sequence": 1,
"isEnabled": false,
"conditions": {
"fromAddresses": [
{
"emailAddress": {
"name": "Manager",
"address": "[email protected]"
}
}
]
},
"actions": {
"forwardTo": [
{
"emailAddress": {
"name": "Archive",
"address": "[email protected]"
}
}
],
"stopProcessingRules": true
}
}
Use this operation to update an existing inbox rule. Provide the rule identifier in the URL path and include only the properties to update in the request body. You can modify the rule's display name, sequence, enabled status, conditions, or actions.
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 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
development
# 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