Skip to content

Instantly share code, notes, and snippets.

@brong
Created May 6, 2019 15:19
Show Gist options
  • Save brong/57fee0f1e5bff1319b269b4832382afe to your computer and use it in GitHub Desktop.
Save brong/57fee0f1e5bff1319b269b4832382afe to your computer and use it in GitHub Desktop.
JMAP example
[
"Email/queryChanges",
{
"accountId": "u5d2841a9",
"calculateTotal": true,
"collapseThreads": true,
"filter": { "inMailbox": "F04eb5e6d" },
"maxChanges": 25,
"sinceQueryState": "26840:0",
"sort": [ { "isAscending": false, "property": "receivedAt" } ],
},
"tag"
]
[
"Email/queryChanges",
{
"accountId": "u5d2841a9",
"added": [ { "id": "Me6833125", "index": 7 } ],
"calculateTotal": true,
"collapseThreads": true,
"filter": { "inMailbox": "F04eb5e6d" },
"newQueryState": "26845:0",
"oldQueryState": "26840:0",
"removed": [ "M317cc308" ],
"sort": [ { "isAscending": false, "property": "receivedAt" } ],
"total": 7682,
},
"tag"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment