• v0.2.0 5d60c20d2d

    0.2.0 Stable

    svc-agent-writer released this 2026-10-31 04:55:50 +00:00 | 204 commits to main since this release

    No known key found for this signature in database

    Phase 2: a reversible write path through an outbox (ADR 0004). Nothing is ever sent or deleted.

    Image

    git.groupthink.asia/dev/imap-mailmind-mcp:0.2.0@sha256:090e136ab3a53f39b8892496999c482796be7f83901d8b51a2a8588ad74fa6a7 (linux/amd64, read from the registry manifest; pushed 2026-10-31).

    What is new

    • Write tools (write token only, present only when auth.write_token_file is set): mail_draft, mail_flag, mail_move, mail_undo, mail_actions. Drafts never send. Only \Seen and \Flagged change. Moves never target Trash or Junk. Every applied action can be undone once. Per-day caps in [writes]. Every draft carries X-Mailmind-Action. (#12, #13)
    • Schema v2: the actions outbox, append-only by trigger. Only the sync worker runs DDL, and schema_version never moves down. The api opens the mirror read-only. (#11)
    • Credential split: the api container receives the token files only. (#15)
    • Health: GET /healthz (probes) and GET /healthz/sync (503 past sync.max_lag_seconds). The probes send Host: localhost. (#14)

    Upgrading from 0.1.x

    • server.allowed_hosts must include localhost, or the new HTTP probes fail.
    • Start order does not matter: the api waits up to 60 s for the sync worker to bring the schema to v2. The upgrade adds a table only; 0.1.x can still read a v2 mirror.
    • An instance stays read-only while its config has no write_token_file. The write tools then do not exist.
    • New optional keys: [writes], sync.outbox_poll_seconds, sync.max_lag_seconds, and from_address per account.
    Downloads