Prepare mailbox changes
triage_planStage bulk mail actions like move, flag, or mark read into a reviewable plan, filtered by sender, date, mailbox, or query, before applying.
Instructions
Prepare a reviewable bulk-change plan; sender filters use case-insensitive substring matching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Only include mail after this ISO-8601 date or timestamp. | |
| limit | No | Maximum messages to stage; 0 uses the configured safe plan cap. | |
| query | No | Words to find in the subject, sender, snippet, or indexed body. | |
| before | No | Only include mail before this ISO-8601 date or timestamp. | |
| account | No | Account UUID; omit it to include every configured account. | |
| actions | No | Mailbox actions to stage for every selected message. | |
| mailbox | No | Mailbox name to search, such as INBOX or Archive. | |
| to_addr | No | Recipient name, address, or address fragment to match. | |
| from_addr | No | Sender name, address, or address fragment to match. | |
| unread_only | No | When true, include only unread messages. | |
| has_attachment | No | True for mail with attachments, false for mail without them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||