{
"methodCalls": [
[
"Email/set",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"ifInState": "76c8cc01-99ea-11eb-9f45-41cfc39c8f8d",
"update": {
"9e17b690-96c5-11eb-b57c-1b93c9e59cb7": {
"mailboxIds": {
"dae512d0-9304-11eb-b57c-1b93c9e59cb7": true
}
}
}
},
"0"
],
[
"Email/changes",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"sinceState": "76c8cc01-99ea-11eb-9f45-41cfc39c8f8d"
},
"1"
],
[
"Email/get",
{
"fetchTextBodyValues": true,
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"#ids": {
"resultOf": "1",
"name": "Email/changes",
"path": "/created"
}
},
"2"
],
[
"Email/get",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"#ids": {
"resultOf": "1",
"name": "Email/changes",
"path": "/updated"
},
"properties": [
"keywords",
"mailboxIds"
]
},
"3"
]
],
"using": [
"urn:ietf:params:jmap:core",
"urn:ietf:params:jmap:mail"
]
}
{
"sessionState": "2c9f1b12-b35a-43e6-9af2-0106fb53a943",
"methodResponses": [
[
"Email/set",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"oldState": "76c8cc01-99ea-11eb-9f45-41cfc39c8f8d",
"newState": "948ba9b1-99ea-11eb-9f45-41cfc39c8f8d",
"updated": {
"9e17b690-96c5-11eb-b57c-1b93c9e59cb7": null
}
},
"0"
],
[
"Email/changes",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"oldState": "76c8cc01-99ea-11eb-9f45-41cfc39c8f8d",
"newState": "948ba9b1-99ea-11eb-9f45-41cfc39c8f8d",
"hasMoreChanges": false,
"created": [],
"updated": [],
"destroyed": []
},
"1"
],
[
"Email/get",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"notFound": [],
"state": "948ba9b1-99ea-11eb-9f45-41cfc39c8f8d",
"list": []
},
"2"
],
[
"Email/get",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"notFound": [],
"state": "948ba9b1-99ea-11eb-9f45-41cfc39c8f8d",
"list": []
},
"3"
]
]
}
{
"methodCalls": [
[
"Mailbox/changes",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"sinceState": "76c8cc00-99ea-11eb-9f45-41cfc39c8f8d"
},
"0"
],
[
"Mailbox/get",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"#ids": {
"resultOf": "0",
"name": "Mailbox/changes",
"path": "/created"
}
},
"1"
],
[
"Mailbox/get",
{
"#properties": {
"resultOf": "0",
"name": "Mailbox/changes",
"path": "/updatedProperties"
},
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"#ids": {
"resultOf": "0",
"name": "Mailbox/changes",
"path": "/updated"
}
},
"2"
],
[
"Email/changes",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"sinceState": "948ba9b1-99ea-11eb-9f45-41cfc39c8f8d"
},
"3"
],
[
"Email/get",
{
"fetchTextBodyValues": true,
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"#ids": {
"resultOf": "3",
"name": "Email/changes",
"path": "/created"
}
},
"4"
],
[
"Email/get",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"#ids": {
"resultOf": "3",
"name": "Email/changes",
"path": "/updated"
},
"properties": [
"keywords",
"mailboxIds"
]
},
"5"
],
[
"Thread/changes",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"sinceState": "2c9f1b12-b35a-43e6-9af2-0106fb53a943"
},
"6"
],
[
"Thread/get",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"#ids": {
"resultOf": "6",
"name": "Thread/changes",
"path": "/created"
}
},
"7"
],
[
"Thread/get",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"#ids": {
"resultOf": "6",
"name": "Thread/changes",
"path": "/updated"
}
},
"8"
],
[
"Email/query",
{
"collapseThreads": true,
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"filter": {
"inMailbox": "78053440-92f2-11eb-9aae-db9603374277"
},
"limit": 20,
"sort": [
{
"isAscending": false,
"property": "receivedAt"
}
]
},
"9"
],
[
"Email/get",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"#ids": {
"resultOf": "9",
"name": "Email/query",
"path": "/ids"
},
"properties": [
"threadId"
]
},
"10"
]
],
"using": [
"urn:ietf:params:jmap:core",
"urn:ietf:params:jmap:mail"
]
}
{
"sessionState": "2c9f1b12-b35a-43e6-9af2-0106fb53a943",
"methodResponses": [
[
"Mailbox/changes",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"oldState": "76c8cc00-99ea-11eb-9f45-41cfc39c8f8d",
"newState": "948ba9b0-99ea-11eb-9f45-41cfc39c8f8d",
"hasMoreChanges": false,
"updatedProperties": [
"totalEmails",
"unreadEmails",
"totalThreads",
"unreadThreads"
],
"created": [],
"updated": [
"dae512d0-9304-11eb-b57c-1b93c9e59cb7",
"78053440-92f2-11eb-9aae-db9603374277"
],
"destroyed": []
},
"0"
],
[
"Mailbox/get",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"notFound": [],
"state": "948ba9b0-99ea-11eb-9f45-41cfc39c8f8d",
"list": []
},
"1"
],
[
"Mailbox/get",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"notFound": [],
"state": "948ba9b0-99ea-11eb-9f45-41cfc39c8f8d",
"list": [
{
"id": "78053440-92f2-11eb-9aae-db9603374277",
"totalEmails": 6,
"unreadEmails": 2,
"totalThreads": 6,
"unreadThreads": 2
},
{
"id": "dae512d0-9304-11eb-b57c-1b93c9e59cb7",
"totalEmails": 10,
"unreadEmails": 1,
"totalThreads": 10,
"unreadThreads": 1
}
]
},
"2"
],
[
"Email/changes",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"oldState": "948ba9b1-99ea-11eb-9f45-41cfc39c8f8d",
"newState": "948ba9b1-99ea-11eb-9f45-41cfc39c8f8d",
"hasMoreChanges": false,
"created": [],
"updated": [],
"destroyed": []
},
"3"
],
[
"Email/get",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"notFound": [],
"state": "948ba9b1-99ea-11eb-9f45-41cfc39c8f8d",
"list": []
},
"4"
],
[
"Email/get",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"notFound": [],
"state": "948ba9b1-99ea-11eb-9f45-41cfc39c8f8d",
"list": []
},
"5"
],
[
"Thread/changes",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"oldState": "2c9f1b12-b35a-43e6-9af2-0106fb53a943",
"newState": "2c9f1b12-b35a-43e6-9af2-0106fb53a943",
"hasMoreChanges": false,
"created": [],
"updated": [],
"destroyed": []
},
"6"
],
[
"Thread/get",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"state": "2c9f1b12-b35a-43e6-9af2-0106fb53a943",
"list": []
},
"7"
],
[
"Thread/get",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"state": "2c9f1b12-b35a-43e6-9af2-0106fb53a943",
"list": []
},
"8"
],
[
"Email/query",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"queryState": "30d6376b",
"canCalculateChanges": false,
"ids": [
"c6767db0-96c5-11eb-b57c-1b93c9e59cb7",
"9e17b690-96c5-11eb-b57c-1b93c9e59cb7",
"ae2b45c0-96c4-11eb-b57c-1b93c9e59cb7",
"6c48c6b0-96c3-11eb-b57c-1b93c9e59cb7",
"53613240-96c3-11eb-b57c-1b93c9e59cb7",
"d51b56a0-931f-11eb-b57c-1b93c9e59cb7",
"d6cef8e0-9305-11eb-b57c-1b93c9e59cb7"
],
"position": 0
},
"9"
],
[
"Email/get",
{
"accountId": "cf2e474f942d8ea3192028d2e37d5b08b3ddd36fb986d2ad6a19d66277a981c4",
"notFound": [],
"state": "948ba9b1-99ea-11eb-9f45-41cfc39c8f8d",
"list": [
{
"threadId": "6c48c6b0-96c3-11eb-b57c-1b93c9e59cb7",
"id": "6c48c6b0-96c3-11eb-b57c-1b93c9e59cb7"
},
{
"threadId": "d6cef8e0-9305-11eb-b57c-1b93c9e59cb7",
"id": "d6cef8e0-9305-11eb-b57c-1b93c9e59cb7"
},
{
"threadId": "53613240-96c3-11eb-b57c-1b93c9e59cb7",
"id": "53613240-96c3-11eb-b57c-1b93c9e59cb7"
},
{
"threadId": "c6767db0-96c5-11eb-b57c-1b93c9e59cb7",
"id": "c6767db0-96c5-11eb-b57c-1b93c9e59cb7"
},
{
"threadId": "d51b56a0-931f-11eb-b57c-1b93c9e59cb7",
"id": "d51b56a0-931f-11eb-b57c-1b93c9e59cb7"
},
{
"threadId": "9e17b690-96c5-11eb-b57c-1b93c9e59cb7",
"id": "9e17b690-96c5-11eb-b57c-1b93c9e59cb7"
},
{
"threadId": "ae2b45c0-96c4-11eb-b57c-1b93c9e59cb7",
"id": "ae2b45c0-96c4-11eb-b57c-1b93c9e59cb7"
}
]
},
"10"
]
]
}
` `