mxr route
Generated from
mxr route --help. After editingcrates/daemon/src/cli/, update and review the snapshots withscripts/cargo-test -p mxr --test integration cli_help::, then rebuildsite/.
Route queued messages to a target label, optionally marking read and archiving
mxr route [OPTIONS] --to <TO_LABEL> --from-queue <FROM_QUEUE_LABEL> [MESSAGE_ID]...Arguments
Section titled “Arguments”| Flag | Description |
|---|---|
[MESSAGE_ID] |
… |
Options
Section titled “Options”| Flag | Description |
|---|---|
--search <SEARCH> |
|
--account <ACCOUNT> |
|
--to <TO_LABEL> |
|
--from-queue <FROM_QUEUE_LABEL> |
|
--archive |
|
--yes |
|
--dry-run |
|
--format <FORMAT> |
[possible values: table, json, jsonl, csv, ids] |
-h, --help |
Print help |
Use When
Section titled “Use When”Preview moving reviewed mail from a queue label to its destination, optionally archiving it. Replace the label names with labels in your mailbox.
Everyday Examples
Section titled “Everyday Examples”mxr route MESSAGE_ID --from-queue review --to receipts --archive --dry-runmxr route --search 'label:review from:billing@example.com' --from-queue review --to receipts --dry-run --format jsonSee also
Section titled “See also”- CLI overview: full command index
- Concepts: query operators, search modes, JSON shapes
- Automation contract: which commands support
--format json,--dry-run, stdin