3 Commits

Author SHA1 Message Date
Tim Culverhouse
b77bd33d8a jmap: cache threads
Cache threads that we have fetched. Monitor threads for changes, and
fetch any email which we don't have for any thread that changes.

Changelog-added: The JMAP backend now supports full thread fetching
 and caching (limited within a single mailbox).
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2024-12-21 16:49:31 +01:00
Robin Jarry
446d5303b9 jmap: revert fetch threads support
This reverts commits:

 9e93d9efdb ("jmap: fix go static check failure")
 0465509eed ("jmap: skip Email/get call if no emails to get")
 9f97c698e3 ("jmap: fetch entire threads")

Issues have been reported about disappearing sent messages.

Reported-by: Tristan Partin <tristan@partin.io>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Tristan Partin <tristan@partin.io>
2024-06-29 00:18:18 +02:00
Tristan Partin
9f97c698e3 jmap: fetch entire threads
JMAP was missing good thread support, especially when compared to Gmail.
This will fetch entire threads when possible.

Signed-off-by: Tristan Partin <tristan@partin.io>
2024-05-28 23:52:39 +02:00