• v0.5.0 b24396ce5b

    0.5.0 Stable

    svc-agent-writer released this 2026-10-31 23:57:26 +00:00 | 157 commits to main since this release

    No known key found for this signature in database

    Pluggable mail sources, starting with JMAP and push (ADR 0006).

    Image: git.groupthink.asia/dev/imap-mailmind-mcp:0.5.0@sha256:44b74f8d2dd53e767c6fbbccb73f22fd6c0e9ebe139f1d1b6ef7833fe8f9869e (linux/amd64, config sha256:e5fb5e5b4de1…).

    Added

    • A JMAP source (#55). An account with source = "jmap" syncs over JMAP (RFC 8620, RFC 8621) beside the IMAP accounts. It is read-only: a write to a JMAP account fails with unsupported until #57 lands.
      • Each pass reads every mailbox, backfills newest first, and then reads deltas with Email/changes.
      • A message keeps its id when it moves between mailboxes, and the change feed reports a move.
      • The token is a file. Its name must not end in .token.
      • Switching an account from IMAP to JMAP keeps the triage classes and vectors.
    • JMAP push (#56). An EventSource stream wakes the sync seconds after mail arrives in any mailbox. sync.idle = false turns it off. The poll interval stays as the fallback.
    • A Stalwart integration target (#63). make test-stalwart tests the JMAP source against a real server.

    Changed

    • Schema v5 and v6 (#62, #55). v5 adds source ids, the list of mailboxes per message, versioned ids and the move change. v6 adds per-account source state. The sync worker upgrades the store on start.
    • Ids. The ids that 0.4.0 issued still resolve.
    • The IMAP source sits behind a MailSource seam (#61). IMAP behaviour does not change.

    Upgrade

    • With no config change, 0.5.0 behaves like 0.4.0.
    • To add a JMAP account, add an [[accounts]] block with source = "jmap", session_url and credential_file. See config.example.toml.

    Decisions

    • ADR 0006: pluggable mail sources, and JMAP with push (#60).
    Downloads