-
0.6.0 Stable
released this
2026-11-01 05:32:47 +00:00 | 130 commits to main since this releaseAttachment 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, configsha256: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_searchthen 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 isunsupported. - 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,failedortimeout. mail_statusshowsattachments=N attachment_backlog=Mper account.- The README "Attachment size" section lists every limit and the memory measured per attachment shape.
- 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
- Evidence token and
mail_evidence(ADR 0008, #84). Scopes now nest:evidenceis inread, andreadis inwrite.- An evidence token reaches
mail_evidence,mail_people,mail_statusandmail_changesonly, never a body. mail_evidencereturns 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=trueaddsfrom | to | ccto each add row, addresses only.
- An evidence token reaches
- 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_triagereturns inbox counts by triage class and links the panel atui://mailmind/triage.html.- The panel reads rows through
mail_triage_rows, an app-only tool, and opens a message throughmail_read. It starts no write and loads nothing from outside. mail_triageandmail_triage_rowstake the read scope. The evidence token reaches neither.
Changed
- Schema v7. The search index gains an
attached_textcolumn, and a newattachment_texttable 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_triageandmail_triage_rowsto 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. Seeconfig.example.toml.- A child can use up to 512 MiB in the
synccontainer, one at a time. The basesyncmemory limit of 768Mi does not count it. Raise the limit in the overlay when[attachments]is set, more so when[embed]is set too.
- A child can use up to 512 MiB in the
- To issue an evidence token: run
mailmind token --out evidence.token, add it to the Secret asevidence.token, and setevidence_token_file. A Secret key that ends in.tokenreaches theapicontainer only. Issue it only to a consumer such as peoplemind-mcp.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Attachment text (ADR 0007, #82, #83). Optional, on only with