Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/coltonbearden/carrelWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/coltonbearden/carrel/mail)<a href="https://agentmods.dev/commands/coltonbearden/carrel/mail"><img src="https://agentmods.dev/badge/commands/coltonbearden/carrel/mail/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/coltonbearden/carrel/mail"><img src="https://agentmods.dev/badge/commands/coltonbearden/carrel/mail.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00036 | $0.01467 |
| Opus 5.5 | $0.00014 | $0.00587 |
| Sonnet 5.5 | $0.00007 | $0.00293 |
| Haiku 4.5 | $0.00004 | $0.00147 |
Grade A, and why
mail scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Handle this email-file request: $ARGUMENTS
Run the carrel CLI via Bash. carrel mail is a group; map the user's request onto the real subcommands and flags in the --help blocks below (regenerated from the CLI by scripts/sync_plugins.py; if the installed carrel mail --help differs, trust the installed version — never invent flags):
Usage: carrel mail [OPTIONS] COMMAND [ARGS]...
Attachments, mailbox splitting, threads and Outlook exports for eml/mbox files.
Options:
--json Machine-readable JSON output.
--help Show this message and exit.
Commands:
attachments Save every attachment of FILES (eml or mbox) into --out-dir.
pst Convert an Outlook SRC (.pst/.ost) into eml or mbox files via readpst.
split Split BOX (an mbox) into one .eml file per message under --out-dir.
threads Group the messages in PATHS (eml/mbox files or directories) into threads.
Usage: carrel mail attachments [OPTIONS] FILES...
Save every attachment of FILES (eml or mbox) into --out-dir.
File names are sanitised (no separators, no leading dots); collisions get -1, -2, … suffixes
unless --force. JSON: one record per message with the written paths, sizes and sha256 digests.
Options:
--out-dir DIRECTORY Directory to write attachments into (created if missing). [required]
--force Overwrite same-named files instead of suffixing -1, -2, …
--fail-empty Exit 5 when no attachment was found.
--json Machine-readable JSON output.
--help Show this message and exit.
Usage: carrel mail pst [OPTIONS] SRC
Convert an Outlook SRC (.pst/.ost) into eml or mbox files via readpst.
`--format eml` writes one .eml per message (readpst -e); `--format mbox` writes one `mbox` file
per mail folder (readpst -r), which `carrel mail split` can then take apart.
Needs readpst; exit 3 with this platform's install hint otherwise. JSON: {src, out_dir, format,
files, via}.
Options:
--out-dir DIRECTORY Directory readpst writes into (one subfolder per mail folder). [required]
--format [eml|mbox] One .eml per message (readpst -e), or one mbox file per mail folder (readpst
-r). [default: eml]
--json Machine-readable JSON output.
--help Show this message and exit.
Usage: carrel mail split [OPTIONS] BOX
Split BOX (an mbox) into one .eml file per message under --out-dir.
Names come from --template; messages are numbered in mailbox order and the bytes are written as
stored. Refuses to overwrite without --force. JSON: [{n, path, subject, date, message_id}].
Options:
--out-dir DIRECTORY Directory to write the .eml files into (created if missing). [required]
--template TEXT File name template: {n} index, {date} YYYY-MM-DD, {subject} slug, {id}
message id. [default: {n}_{date}_{subject}.eml]
--force Overwrite existing files.
--json Machine-readable JSON output.
--help Show this message and exit.
Usage: carrel mail threads [OPTIONS] PATHS...
Group the messages in PATHS (eml/mbox files or directories) into threads.
Threads follow Message-ID / In-Reply-To / References; `depth` is the reply-chain length when the
parent is present. JSON: [{root_subject, first_date, messages: [{where, message_id, date, from,
subject, depth}]}].
Options:
--json Machine-readable JSON output.
--help Show this message and exit.
- Choose the subcommand from intent: "pull the attachments out of X" →
attachments FILE...(eml or mbox files, not folders)--out-dir DIR; "break this mailbox into messages" →split box.mbox --out-dir DIR(an mbox file); "what conversations are in here" →threads PATH...(files or folders); "I exported Outlook to a .pst" →pst FILE.pst --out-dir DIR(needs readpst; exit 3 carries the install hint for the user's platform).--format emlwrites one.emlper message,--format mboxonemboxfile per mail folder. - Reading the mail itself needs no subcommand:
.emland.mboxare desk file types, socarrel inspect,carrel index+carrel search,carrel packand/carrel-finance:refsall read them directly, and thecarrel-guardRead hook turns them into text for you. Conversion targets differ by type:.eml→ md, txt, html or pdf;.mbox→ md or txt only (anything else exits 4 and lists the real targets). carrel convert msg.eml --to pdfrenders the message's text, never its HTML, so converting a message can never fetch a tracking pixel or pull in a local file;--to htmlkeeps the sender's HTML (opening that in a browser will fetch whatever it references, exactly like opening the mail would).- Attachments and split messages are never overwritten without
--force; colliding names get-1,-2, … suffixes. - Prefer
--jsonand report paths, sizes and sha256 digests back to the user; for threads, show root subject, participants and dates.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed scan B → A 828388e2ca9d
- 2mo ago First seen · 103 lines · 36 tokens per session scan B fdefc2064000
mail is a command published in the GitHub repository coltonbearden/carrel (2 stars, last pushed 7d ago), licensed MIT. It adds 36 tokens to every session and 1,467 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.
mail compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mailcoltonbearden/carrel | Command | 2 | 7d ago | MIT | A | 36 | Claude Code |
| document-appphuryn/pm-skills | Command | 28k | 22d ago | MIT | A | 43 | Claude Code |
| csv-to-numbersSpillwaveSolutions/automating-mac-apps-plugin | Command | 50 | 3mo ago | MIT | A | 13 | Claude Code |
| numbers-to-excelSpillwaveSolutions/automating-mac-apps-plugin | Command | 50 | 3mo ago | MIT | A | 11 | Claude Code |
| add-skillivan-magda/claude-code-plugin-template | Command | 72 | 5mo ago | MIT | A | 11 | Claude Code |
| helloivan-magda/claude-code-plugin-template | Command | 72 | 5mo ago | MIT | A | 10 | Claude Code |
| cabinetBigCactusLabs/dead-letter | Command | 9 | today | none | A | 25 | Claude Code |