-
0.8.0 Stable
released this
2026-11-01 12:29:10 +00:00 | 106 commits to main since this releaseAttachment text in semantic and hybrid search, attachment flags for search and wakes, and a copy collapse that no longer makes large searches slow (#79, #87, #96).
Image:
git.groupthink.asia/dev/imap-mailmind-mcp:0.8.0@sha256:ccb81a053f97e0abd7cf5265500e388a79e5b0f4203c543e71864730ef25a982(linux/amd64, configsha256:53eb630fa04d…).Added
- Attachment text in semantic search (#79, #99). Needs both
[embed]and[attachments]. Nothing leaves the host.- The embedder cuts each attachment's text into chunks of 512 tokens with the pinned tokenizer, from the start, at most
[attachments] embed_chunks(default 4, at most 16). Each chunk carries the file name. New messages are embedded before attachment chunks. - Semantic and hybrid modes score a message by its best vector: the message vector or any chunk vector. When a chunk wins, the snippet line starts with
[attachment N]. similar_tocompares against every vector.mail_statusshowsattachment_chunks=N.
- The embedder cuts each attachment's text into chunks of 512 tokens with the pinned tokenizer, from the start, at most
- Attachment flags (#87, #100). Local rules over stored attachment text mark a message
invoice,deadline,contractorform. The flags are advisory.mail_searchtakes anattachment_flagfilter.[wake] attachment_boost(0..1, default 0) adds to the wake score of a message flaggedinvoiceordeadline. The per-thread and daily caps still apply.mailmind replayadds per-flag columns andboosted, the wakes that reach the threshold only through the boost.--attachment-boosttries another value.- The Jev payload does not change. No attachment text goes to Jev.
- Triage confidence.
mail_readshowstriage: <class> (<confidence>) wake=<score>when Jev supplied a confidence.
Changed
- Re-extraction. The backlog records a content hash and an extractor string (parser version and
max_chars) for each attachment. It reuses a matching hash. A change of the extractor string extracts the attachment again. Rows extracted before 0.8.0 have no extractor string and stay as they are. - Search cost (#96, #103). The copy collapse now uses a stored key and an index. In the image, on 210,000 synthetic rows, an unfiltered search fell from about 1.4 s in 0.7.0 to about 0.5 s. Against 0.6.0, with no collapse, the ratios of medians are 1.00 unfiltered, 0.69 with
account, and 1.36 withsender. Output does not change.
Known issues
- Semantic search, hybrid search and
similar_towith anaccountfilter can take seconds on a large mirror: about 17 s on 210,000 synthetic vectors. #102 tracks it.
Upgrade
- The sync worker moves the store from schema v7 to v10 on its first start. The
apicontainer waits for v10, as before.- The first start builds the copy-key index once: seconds per hundred thousand messages.
- With
[embed]and[attachments]both set, the embedder then works through a backlog of attachment chunks on one core. Watch the sync container's memory against its limit while it runs.
- Config: two new optional keys,
[attachments] embed_chunksand[wake] attachment_boost. No key is required. - Rollback: no process lowers the stored version. The 0.7.0 image opens a v10 store as writer and as reader, so a rollback needs nothing.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Attachment text in semantic search (#79, #99). Needs both