Skip to content

mxr trash

Generated from mxr trash --help. After editing crates/daemon/src/cli/, update and review the snapshots with scripts/cargo-test -p mxr --test integration cli_help::, then rebuild site/.

Move message to trash

mxr trash [OPTIONS] [MESSAGE_ID]...
Flag Description
[MESSAGE_ID] …
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

Move mail to trash after previewing the target set.

Terminal window
mxr trash MESSAGE_ID --dry-run
mxr trash --search 'from:spam@example.com' --yes