Skip to content

Commit

Permalink
Client guide: don't need to page in message ids
Browse files Browse the repository at this point in the history
  • Loading branch information
neilj committed Sep 29, 2022
1 parent 50650f2 commit f8a1c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-guide/jmap-client-guide.mdown
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ When you next do resync, whether that's a second or several days later, apply th

## Keeping a full copy of mail in sync

JMAP can also be used to efficiently download and keep in sync the entire set of a user's mail. To do this, you would firstly get the full set of mailboxes, then page in the full list of message ids and download the actual messages. From this point on, you would only need to get the delta updates. Presuming you also want to optimise for fetching new mail first, you could do something like when you want to get the latest updates:
JMAP can also be used to efficiently download and keep in sync the entire set of a user's mail. To do this, you would firstly get the full set of mailboxes, then fetch the full list of message ids, and finally download (in batches) the actual messages. From this point on, you would only need to get the delta updates. Presuming you also want to optimise for fetching new mail first, you could do something like when you want to get the latest updates:

```json
[
Expand Down

0 comments on commit f8a1c2c

Please sign in to comment.