https://github.com/replikativ/briefkasten — local IMAP mirror with datahike, scriptum & yggdrasil 📬
We just open-sourced briefkasten, a Clojure library that syncs your IMAP mailbox to a local store combining:
- datahike for structured metadata (datalog queries over subjects, dates, flags, threading headers)
- scriptum for fulltext search (Lucene-backed, CoW snapshots)
- yggdrasil for atomic composite versioning across both systems
Useful for knowledge management, enterprise email tooling, and LLM agent pipelines that need structured access to email archives.
Key features:
- Incremental sync with UID diffing and batch fetching
- Joint datalog queries across metadata + fulltext + raw .eml files
- Time-travel via yggdrasil composite snapshots (persistent across restarts)
- Structured logging via trove — plug in your own backend
[org.replikativ/briefkasten "0.1.2"]
Early beta — feedback welcome!I am both using internally, but am also still figuring out the yggdrasil datahike API integration with it. Would love to have feedback :)