/eml-toolkit:redact-threadfrom eml-toolkit
Mask 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".
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 pdf <source> --out redacted.pdf \
--redact --keep [email protected],REF-2026-0901
--redact alone applies the default rule set: email, israeli_id,
phone_il, account, card, iban. Narrow it with a comma-separated list,
e.g. --redact email,card. Available rules are in
scripts/eml_toolkit/redact.py.
--keep takes literal strings that are never masked — your own address, and the
reference number the recipient needs in order to act on the thread. Without it a
redacted complaint often becomes unactionable.
Masking happens in the parsed JSON before the PDF is generated, so the
original values are not in the output file at all. The module also offers a
blackout concept for the case where a form demands visible black bars; that
leaves the text recoverable in the PDF content stream, which is why it is not
what --redact does.
The CLI prints a per-rule hit count to stderr. Report it. Then read the rendered PDF and check it yourself — the patterns are deliberately conservative, and the failure mode that matters is the one they missed, not the one they over-masked. Israeli ID and generic account patterns in particular will not catch a number written in words or split across a line break.
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