delete_rule
Delete a Mail.app rule using its rule ID, with an automatic backup to allow reversal.
Instructions
Permanently delete a Mail.app rule by its RuleId. A timestamped backup of SyncedRules.plist is made before writing so the deletion can be undone. Mail.app may need to be restarted for the change to take effect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_id | Yes | The RuleId of the rule to delete (from list_rules). |