Delete Inbox Rule
delete_mail_ruleDeletes an inbox mail rule by its ID, helping remove unwanted automatic sorting or forwarding. Get the rule ID from list_mail_rules first.
Instructions
Delete an inbox rule. Get its ID from list_mail_rules.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rule_id": "<rule_id>"
},
"name": "delete_mail_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | No | Email address of another mailbox to act on (delegated or shared), e.g. 'someone@example.com'. Omit for your own mailbox; required when this server signs in as an application. Only addresses this server is configured to allow will be accepted. | |
| rule_id | Yes | The rule's ID from list_mail_rules |