Skip to content

mxr summarize

Generated from mxr summarize --help. Edit the clap definitions in crates/daemon/src/cli/ and re-run npm run build in site/ to regenerate.

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]
FlagDescription
[THREAD_ID]Thread ID to summarise
FlagDescription
--search <SEARCH>
--firstSummarize 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, --helpPrint help

Summarize long threads through the configured LLM.

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