/eml-toolkit:parse-threadfrom eml-toolkit
Parse .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".
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.
Foundation skill. Produces the JSON contract that thread-to-pdf,
thread-to-markdown, redact-thread and bundle-evidence all read.
cd ${CLAUDE_PLUGIN_ROOT} && source .venv/bin/activate
PYTHONPATH=scripts python3 -m eml_toolkit.cli parse <source> --out thread.json
<source> is a single .eml, a directory searched recursively for *.eml, or
an .mbox/.mbx.
Add --strip-bodies when you only need to see the structure — it replaces
bodies with a boolean and a 400-char excerpt, which keeps a 200-message export
readable in context.
=?UTF-8?B?….text/html and text/plain alternatives; downstream renderers
prefer HTML and fall back to text.References/In-Reply-To, then falls back to
normalised subject for messages that carry neither. The subject normaliser
strips Re:/Fwd:/AW:/SV: and the Hebrew תגובה:/הועבר: and Arabic رد:.Date sort
last rather than being dropped.Threads come back largest-first, so --thread 0 in the other skills is usually
the one you want.
Report to the user: how many threads, how many messages in each, the date span, and the participant list. If one source file produced its own singleton thread, say so — that usually means its headers were stripped by whatever exported it, and the subject fallback did not match either.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 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"./redact-threadMask emails, phone numbers, national ID numbers, bank accounts, cards and IBANs in an email thread before it goes to a third party, then render the redacted PDF. Triggers on "redact this email thread", "remove personal details before I send this", "anonymise these emails"./thread-to-markdownExport 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"./thread-to-pdfRender an email thread to a single paginated PDF with correct bidirectional text — Hebrew and Arabic messages come out right-to-left, English ones left-to-right, in the same document. Use for archiving correspondence, sending a chain to a lawyer or regulator, or producing a readable record from loose .eml files. Triggers on "PDF of this email chain", "print this thread", "make a PDF of these emails", "RTL email PDF", "Hebrew email to PDF".eml-toolkit@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin eml-toolkit