outlook_create_rule
Create Outlook inbox rules to match incoming emails by criteria (sender, subject, body) and automatically apply actions: mark read, forward, categorize, or move to folder.
Instructions
Create an Outlook inbox rule (the Gmail-filter equivalent). Matches incoming messages by criteria and applies actions automatically. At least one criterion and one action required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Rule display name | |
| account | No | Account name (default account if omitted) | |
| mark_read | No | Mark matching messages as read | |
| forward_to | No | Email address to forward matches to (NOTE: forwarding sends mail automatically — use deliberately) | |
| body_contains | No | Match body containing any of these | |
| from_contains | No | Match sender addresses/domains containing any of these | |
| assign_category | No | Category name to assign to matches | |
| subject_contains | No | Match subject containing any of these | |
| move_to_folder_id | No | Folder ID to move matches to (from outlook_list_folders) |