Skip to content

mxr summarize

Generated from mxr summarize --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/.

Summarise an email thread using the configured LLM (Ollama, LM Studio, OpenAI, etc.). Requires [llm] enabled = true in config. Pass a positional thread ID or use --search QUERY plus --first (most recent match) or --limit N to summarize multiple threads in one go. Multi-summary output is separated by --- THREAD_ID ---

mxr summarize [OPTIONS] [THREAD_ID]
Flag Description
[THREAD_ID] Thread ID to summarise
Flag Description
--search <SEARCH>
--account <ACCOUNT>
--first Summarize only the most recent matching thread
--limit <LIMIT> Cap the number of threads summarized when –search is used. Each summary is an LLM call — keep this low when targeting metered cloud endpoints
--format <FORMAT> [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Summarize long threads through the configured LLM.

Terminal window
mxr summarize THREAD_ID
mxr summarize --search 'from:team@example.com newer_than:7d' --limit 5