/eml-toolkit:thread-to-markdownfrom eml-toolkit
Export an email thread as structured Markdown for feeding to another agent, pasting into a repo, or summarising. Keeps headers and message boundaries, drops formatting. Triggers on "summarise this email thread", "convert these emails to markdown", "give me the text of this chain".
Ships in eml-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
cd ${CLAUDE_PLUGIN_ROOT} && source .venv/bin/activate
PYTHONPATH=scripts python3 -m eml_toolkit.cli markdown <source> --out thread.md
Use this rather than thread-to-pdf when the consumer is an agent or a repo.
PDF is for humans and for the record; Markdown is for work.
Each message keeps a header block including its Message-ID, so a later
reference to "message 3" is unambiguous. Quoted history collapses to a single
> _[quoted history omitted]_ marker by default — the thread already contains
the quoted message in full further up, and leaving it in roughly doubles the
token cost of a long chain. Pass --keep-quotes when the quoting itself is what
you are examining, e.g. establishing what someone was actually replying to.
Attachments are listed with sizes and hashes but not extracted; use
extract-attachments for the payloads.
What SKILL.md sets; muted values are Claude Code's defaults
eml-toolkit@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin eml-toolkit6 skills in this plugin
/bundle-evidenceBuild a numbered exhibit bundle from an email export — cover page, index, continuous pagination, and a SHA-256 of every source .eml — for a complaint, a regulator, an insurer or a lawyer. Triggers on "make an evidence bundle", "exhibit bundle from these emails", "prepare these emails for a complaint"./extract-attachmentsPull every attachment out of an .eml export to disk with a hash-deduped JSON manifest. Use when you need the files themselves rather than a rendering of the correspondence. Triggers on "get the attachments out of these emails", "extract email attachments", "what was attached to this thread"./parse-threadParse .eml files, a directory of them, or an .mbox into normalised thread JSON — headers, participants, bodies, attachment manifest, and reconstructed reply chains. Use this first; every other eml-toolkit skill consumes its output. Triggers on "parse these emails", "what's in this .eml", "reconstruct this email thread", "read this mbox".Other plugins' skills for the same job