mxr trash
Generated from
mxr trash --help. Edit the clap definitions incrates/daemon/src/cli/and re-runnpm run buildinsite/to regenerate.
Move message to trash
mxr trash [OPTIONS] [MESSAGE_ID]...Arguments
Section titled “Arguments”| Flag | Description |
|---|---|
[MESSAGE_ID] |
… |
Options
Section titled “Options”| Flag | Description |
|---|---|
--search <SEARCH> |
— |
--account <ACCOUNT> |
— |
--yes |
— |
--dry-run |
— |
--async |
Run as a daemon-side background job and poll with mxr jobs |
--format <FORMAT> |
[possible values: table, json, jsonl, csv, ids] |
-h, --help |
Print help |
Use When
Section titled “Use When”Move mail to trash after previewing the target set.
Everyday Examples
Section titled “Everyday Examples”mxr trash MESSAGE_ID --dry-runmxr trash --search 'from:spam@example.com' --yesSee 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