Something went wrong. Try again.
Something went wrong. Try again.
mail: keep a backend's sync state, and build messages outside Gmail
A JMAP account syncs from state strings rather than Gmail's numeric historyId, and its server wants the From, Date and Message-ID that Gmail adds to a draft itself. The mailbox now keeps an opaque state, which the cache saves (its layout goes to version 4, so the next run reads the mail again), and the RFC 5322 builder moves from Gmail.zig to mime.zig, taking those headers when the caller has them.
Author
rockorager.dev Date (Nov 8, 2026, 7:45 PM UTC) Commit
Copy SHA
Parent 57d29be0 57d29be08846ead416761ff694a813e52aa9f847