update-mail-rule
Modify an existing mail rule's conditions, actions, or enable status to automate email handling.
Instructions
Change writable properties on a messageRule object and save the changes.
💡 TIP: Updates an existing message rule. Use the Inbox folder ID (get it from list-mail-folders) for inbox rules. Send only the properties to change. Common use: { isEnabled: false } to disable a rule, or update conditions/actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| mailFolderId | Yes | Path parameter: mailFolderId | |
| messageRuleId | Yes | Path parameter: messageRuleId | |
| includeHeaders | No | Include response headers (including ETag) in the response metadata | |
| excludeResponse | No | Exclude the full response body and only return success or failure indication |