-
0.4.0 Stable
released this
2026-10-31 13:41:47 +00:00 | 173 commits to main since this releaseLocal semantic search (ADR 0005). Nothing leaves the host.
Image:
git.groupthink.asia/dev/imap-mailmind-mcp:0.4.0@sha256:eae961e902a66a151fd02ece76b047814008b466525402d8d21854eddba61eb7(linux/amd64, configsha256:f4c26c3de67c…).Added
-
Semantic search (#44, #48), when
[embed]is set.mail_searchgains:mode="semantic": a plain-language query, ranked by meaning;mode="hybrid": the keyword and semantic rankings, fused;similar_to=<id>: mail like that message.
Every filter applies in every mode. The
apiloads the model on the first semantic call and embeds the query in memory. It never stores or logs the query. -
The embedder (#43, #46). An
embedthread insyncstores onebge-small-en-v1.5int8 vector per message, 1.5 KB each. It works newest first on one core, and it resumes a backfill. A moved copy reuses the vector of its Message-ID.The image carries the model, pinned by Hugging Face revision and sha256 and checked at build. Nothing downloads at run time.
mail_statusandmailmind checkreport the embedder. -
aliaseson an account (#41): other addresses the owner writes from.mail_peopleleaves them out.
Changed
- New mail nudges the assessor and the embedder (#47). Triage, wakes and vectors now start seconds after a sync pass adds mail, not at the next 60-second poll.
poll_secondsstays as the fallback. - Schema v4 adds the
embeddingstable. Thesyncworker upgrades the store on start. - Memory limits. The base
syncandapilimits rise from 512Mi to 768Mi. - Image size. The image grows from 264 MB to 477 MB. onnxruntime and numpy ship as layers of their own, so every layer stays under the registry proxy's 100 MB request limit (#50).
Upgrade
- With no config change, 0.4.0 behaves like 0.3.0 plus the nudge.
[embed]is off by default. - To turn on semantic search, add an empty
[embed]section. The defaults use the model in the image. - To exclude other addresses from
mail_people, addaliases = [...]to the account.
Decisions
- ADR 0005: local embeddings for semantic search (#45).
- ADR 0003 §6 is amended: an off-host embedding provider needs its own amendment and owner consent.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-