mirror of
https://github.com/root-fr/jmap-webmail.git
synced 2026-09-24 08:01:19 +00:00
Archive now follows the Gmail / Apple Mail convention: when the current message belongs to a thread, all of its siblings move to Archive in a single Email/set. Keeps the inbox free of half-archived conversations. Introduces client.moveThreadToMailbox(threadId, dest) which resolves the thread's emailIds via Thread/get then batches the mailboxIds update into one JMAP request, and a matching store method that reconciles local counters for the source and destination mailboxes without a full refetch. Single-message mail (no threadId) falls back to the existing per-message path. Closes #49.