• v0.5.1 acec37c122

    0.5.1 Stable

    svc-agent-writer released this 2026-11-01 00:37:16 +00:00 | 151 commits to main since this release

    No known key found for this signature in database

    JMAP writes and iOS flag colours (ADR 0006 §10, ADR 0004 as amended).

    Image: git.groupthink.asia/dev/imap-mailmind-mcp:0.5.1@sha256:f9ad108e59199f2d1d0ea06bbfbba67f69bb984eaf41e76dda489b07d193498f (linux/amd64, config sha256:1e3c5cf81ef5…).

    Added

    • JMAP writes (#57). A JMAP account now applies the outbox actions, under every rule of ADR 0004:
      • A draft is uploaded and created with Email/import in Drafts, with $draft and $seen. It is never sent. Drafts need from_address on the account.
      • A flag change and a move are Email/set patches with ifInState. A change made on the server meanwhile fails the action with conflict, and nothing is overwritten. The client can ask again.
      • A move keeps the message id. A message that was already in the target folder (a Fastmail label) stays there on undo.
      • An undo replays the stored inverse. A draft is destroyed only while it keeps $draft and its blob id.
      • A read-only token refuses every write with unsupported. EmailSubmission is never called.
    • iOS flag colours (#68). mail_flag takes color: red, orange, yellow, green, blue, purple or grey.
      • A colour sets \Flagged and Apple's $MailFlagBit keywords, as iOS Mail stores them. Clearing \Flagged clears the colour.
      • A colour never marks a message read. Marking read stays an explicit add=["seen"].
      • Rows show !(blue) for a colour other than red. mail_search gains a flag_color filter.
      • On IMAP, a mailbox that keeps no keywords refuses a colour with unsupported.

    Changed

    • An undo of a flag change restores only the flags that the action changed. A flag that the owner changed since then stays as the owner set it. An action applied before 0.5.1 restores both flags, as before.
    • ADR 0004 §1 and §3 are amended for the colour keywords and the exact undo.

    Upgrade

    • With no config change, 0.5.1 behaves like 0.5.0 for reads. No schema change.
    • An instance writes only when its config has write_token_file (ADR 0004 §9).
    • A writing JMAP account needs a read-write Fastmail token with Email access and without the submission scope, and from_address for drafts.
    Downloads