Repository navigation
Closed
Labels
capability:platformFramework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap)capability:statsRead-only dashboards, metrics, governance evidencecontract:mail-createTool capability: outbound mail composition (editable draft; sending is a separate human step)contract:mail-sourceTool capability: inbound-mail ingestion (mbox / IMAP / ...)enhancementNew feature or requestfamily:ci.github workflows, prek, validatorsfamily:docsDocs, MISSION.md, READMEsfamily:issueissue-* skillsfamily:securitysecurity-* skillsfamily:setupsetup-* skillsfamily:toolstools/*good first issueGood for newcomerssubstrate:analyticsTool substrate: read-only metrics / dashboards / renderers
Description
The mbox / local-archive mail-source adapter is currently a documentation stub. Land the concrete CLI per tools/mail-source/mbox/README.md. Read-only by construction — no drafts, no writes to the archive file.
Operations to implement:
list_recent_threads(list, since)— parse mbox, group messages byReferences:/In-Reply-To:, filter byDate:read_thread(thread_id)— return full message history for the thread rootthread_url(thread_id)— build archive deep-link if the adopter has a public archive (PonyMail / Hyperkitty / Pipermail), elsefile://
Format sniffing should accept: a single mbox file, a Maildir/ directory, or a directory of .eml files.
Why:
- Forensics / late triage — the inbox is gone but a snapshot exists.
- Air-gapped triage — a thumbdrive snapshot of
security@for an audit window. - Compliance / discovery exports — a regulator-requested mbox export, processed through the same skills without touching live credentials.
Reference:
- Contract:
tools/mail-source/contract.md - Stub spec:
tools/mail-source/mbox/README.md - Python
mailbox(stdlib) handles mbox + Maildir + MH + Babyl
Metadata
Metadata
Assignees
Labels
capability:platformFramework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap)capability:statsRead-only dashboards, metrics, governance evidencecontract:mail-createTool capability: outbound mail composition (editable draft; sending is a separate human step)contract:mail-sourceTool capability: inbound-mail ingestion (mbox / IMAP / ...)enhancementNew feature or requestfamily:ci.github workflows, prek, validatorsfamily:docsDocs, MISSION.md, READMEsfamily:issueissue-* skillsfamily:securitysecurity-* skillsfamily:setupsetup-* skillsfamily:toolstools/*good first issueGood for newcomerssubstrate:analyticsTool substrate: read-only metrics / dashboards / renderers
Activity
Harshall25 commentedon Oct 6, 2026
Hi @potiuk is it already addressed ? If it’s still available, I’d like to work on this one.
potiuk commentedon Oct 6, 2026
Sure. Go ahead.
sharpca commentedon Oct 25, 2026
Taking this one. The read side lands in
tools/maildir/, which its own README already names as the vendor home for this local-files backend (and which already carries the outbound half). Three commands —maildir-source-threads,maildir-source-read,maildir-source-thread-url— over an mbox file, a Maildir, or a.emldirectory, sniffed per call.Two decisions worth flagging up front: a thread comes back whole when any of its messages falls inside the
--since-dayswindow (a report filed months ago whose last reply is recent is still active, and trimming it would hide the original report from the import skills); andthread_urlrefuses to invent a public address — without an adopter-declared--archive-templateit returns afile://link to the snapshot.PR follows.
feat(tools/maildir): land the local-archive read side
feat(tools/maildir): land the local-archive read side
feat(tools/maildir): land the local-archive read side
feat(tools/maildir): land the local-archive read side
feat(tools/maildir): land the local-archive read side
feat(tools/maildir): land the local-archive read side (apache#1811)