• v0.6.0 3af5d340ef

    0.6.0 Stable

    svc-agent-writer released this 2026-11-01 05:32:47 +00:00 | 130 commits to main since this release

    No known key found for this signature in database

    Attachment text in keyword search, an evidence token for a people-graph service, and a read-only triage panel (ADR 0007, ADR 0008, #76).

    Image: git.groupthink.asia/dev/imap-mailmind-mcp:0.6.0@sha256:06b17ff662d24b768d489434be9cb220fb78c50bfe6691dc5f96f12eabb94759 (linux/amd64, config sha256:479ca836dbf7…).

    Added

    • Attachment text (ADR 0007, #82, #83). Optional, on only with [attachments]. Nothing leaves the host.
      • The sync worker extracts the text of each attachment after every pass, newest mail first. It stores the text, never the bytes. Keyword search in mail_search then matches a word found only in an attachment.
      • Formats are a closed list: PDF, DOCX, PPTX, XLSX, Outlook .msg, HTML, and plain text, CSV, Markdown and calendar files. Every other type is unsupported.
      • Each parse runs in a child process with no sockets, 512 MiB of address space, 10 s of CPU (30 s for DOCX, PPTX, Outlook and HTML), and a zip-member check before any Office parser.
      • Each attachment gets one final status: text, empty, unsupported, too_large, skipped, failed or timeout.
      • mail_status shows attachments=N attachment_backlog=M per account.
      • The README "Attachment size" section lists every limit and the memory measured per attachment shape.
    • Evidence token and mail_evidence (ADR 0008, #84). Scopes now nest: evidence is in read, and read is in write.
      • An evidence token reaches mail_evidence, mail_people, mail_status and mail_changes only, never a body.
      • mail_evidence returns a closed field list for one sender: domain, received, roles, sent, the distinct sign-off blocks of the newest messages with every address redacted, and subjects.
      • A sign-off block starts only at a closing phrase from a closed list or at a line that starts with the sender's name. Lines above it are never returned.
      • mail_changes envelope=true adds from | to | cc to each add row, addresses only.
    • Triage panel (#76, #88). Read-only, for hosts that render MCP Apps. In the #75 probe, grok.com rendered an MCP Apps panel and Grok Bot showed only text. This panel is not yet checked on grok.com.
      • mail_triage returns inbox counts by triage class and links the panel at ui://mailmind/triage.html.
      • The panel reads rows through mail_triage_rows, an app-only tool, and opens a message through mail_read. It starts no write and loads nothing from outside.
      • mail_triage and mail_triage_rows take the read scope. The evidence token reaches neither.

    Changed

    • Schema v7. The search index gains an attached_text column, and a new attachment_text table holds one row per attachment.
    • The image is about 83 MB larger, for the extractors. Pillow and lxml are a layer of their own, so no single layer exceeds the registry's 100 MB request limit.
    • ADR 0007 is accepted and amends ADR 0001 §4 and ADR 0005 §3. ADR 0008 is accepted.

    Upgrade

    • Back up the store first. On its first start, the sync worker migrates to schema v7 and rebuilds the search index once. That takes seconds per hundred thousand messages. The api waits for v7 meanwhile.
    • With no config change, 0.6.0 behaves like 0.5.1 for reads and writes, and adds mail_triage and mail_triage_rows to the read tools.
    • A rollback to 0.5.1 should open a v7 store, because its DDL is all IF NOT EXISTS. That reading comes from the code and is not tested.
    • To enable attachment text: add [attachments] to the config. See config.example.toml.
      • A child can use up to 512 MiB in the sync container, one at a time. The base sync memory limit of 768Mi does not count it. Raise the limit in the overlay when [attachments] is set, more so when [embed] is set too.
    • To issue an evidence token: run mailmind token --out evidence.token, add it to the Secret as evidence.token, and set evidence_token_file. A Secret key that ends in .token reaches the api container only. Issue it only to a consumer such as peoplemind-mcp.
    Downloads