{ "objects": { "Mailbox": [ { "id": "mb-inbox", "name": "Inbox", "parentId": null, "role": "inbox", "sortOrder": 1, "totalEmails": 5, "unreadEmails": 2, "totalThreads": 3, "unreadThreads": 2, "isSubscribed": true }, { "id": "mb-drafts", "name": "Drafts", "parentId": null, "role": "drafts", "sortOrder": 2, "totalEmails": 1, "unreadEmails": 0, "totalThreads": 1, "unreadThreads": 0, "isSubscribed": true }, { "id": "mb-sent", "name": "Sent Items", "parentId": null, "role": "sent", "sortOrder": 3, "totalEmails": 1, "unreadEmails": 0, "totalThreads": 1, "unreadThreads": 0, "isSubscribed": true }, { "id": "mb-archive", "name": "Archive", "parentId": null, "role": "archive", "sortOrder": 4, "totalEmails": 1, "unreadEmails": 0, "totalThreads": 1, "unreadThreads": 0, "isSubscribed": true }, { "id": "mb-junk", "name": "Junk Mail", "parentId": null, "role": "junk", "sortOrder": 5, "totalEmails": 0, "unreadEmails": 0, "totalThreads": 0, "unreadThreads": 0, "isSubscribed": true }, { "id": "mb-trash", "name": "Deleted Items", "parentId": null, "role": "trash", "sortOrder": 6, "totalEmails": 0, "unreadEmails": 0, "totalThreads": 0, "unreadThreads": 0, "isSubscribed": true }, { "id": "mb-projects", "name": "Projects", "parentId": null, "role": null, "sortOrder": 10, "totalEmails": 0, "unreadEmails": 0, "totalThreads": 0, "unreadThreads": 0, "isSubscribed": true }, { "id": "mb-alpha", "name": "Alpha", "parentId": "mb-projects", "role": null, "sortOrder": 0, "totalEmails": 0, "unreadEmails": 0, "totalThreads": 0, "unreadThreads": 0, "isSubscribed": true } ], "Email": [ { "id": "e-a1", "blobId": "blob-a1", "threadId": "t-alpha", "mailboxIds": { "mb-inbox": true }, "keywords": { "$seen": true }, "size": 2100, "receivedAt": "2026-11-10T09:00:00Z", "sentAt": "2026-11-10T10:00:00+01:00", "messageId": [ "a1@example.org" ], "inReplyTo": null, "references": null, "from": [ { "name": "Alice Example", "email": "alice@example.org" } ], "to": [ { "name": "Test User", "email": "user@example.com" } ], "cc": [ { "name": null, "email": "carol@example.net" } ], "bcc": null, "replyTo": null, "subject": "Quarterly plan", "hasAttachment": false, "preview": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.", "bodyValues": { "1": { "value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n\nSed do eiusmod tempor.\n\nAlice\n", "isEncodingProblem": false, "isTruncated": false } }, "textBody": [ { "partId": "1", "blobId": "blob-a1-1", "size": 90, "name": null, "type": "text/plain", "charset": "utf-8", "disposition": null, "cid": null, "language": null, "location": null } ], "htmlBody": [ { "partId": "1", "blobId": "blob-a1-1", "size": 90, "name": null, "type": "text/plain", "charset": "utf-8", "disposition": null, "cid": null, "language": null, "location": null } ], "attachments": [] }, { "id": "e-a2", "blobId": "blob-a2", "threadId": "t-alpha", "mailboxIds": { "mb-sent": true }, "keywords": { "$seen": true }, "size": 1800, "receivedAt": "2026-11-10T11:30:00Z", "sentAt": "2026-11-10T11:30:00Z", "messageId": [ "a2@example.com" ], "inReplyTo": [ "a1@example.org" ], "references": [ "a1@example.org" ], "from": [ { "name": "Test User", "email": "user@example.com" } ], "to": [ { "name": "Alice Example", "email": "alice@example.org" } ], "cc": null, "bcc": null, "replyTo": null, "subject": "Re: Quarterly plan", "hasAttachment": false, "preview": "Ut enim ad minim veniam, quis nostrud exercitation.", "bodyValues": { "1": { "value": "Ut enim ad minim veniam, quis nostrud exercitation.\n\nOn Tue, 10 Nov 2026, Alice Example wrote:\n> Lorem ipsum dolor sit amet.\n", "isEncodingProblem": false, "isTruncated": false } }, "textBody": [ { "partId": "1", "blobId": "blob-a2-1", "size": 120, "name": null, "type": "text/plain", "charset": "utf-8", "disposition": null, "cid": null, "language": null, "location": null } ], "htmlBody": [ { "partId": "1", "blobId": "blob-a2-1", "size": 120, "name": null, "type": "text/plain", "charset": "utf-8", "disposition": null, "cid": null, "language": null, "location": null } ], "attachments": [] }, { "id": "e-a3", "blobId": "blob-a3", "threadId": "t-alpha", "mailboxIds": { "mb-inbox": true }, "keywords": { "$hasattachment": true }, "size": 48000, "receivedAt": "2026-11-12T08:15:00Z", "sentAt": "2026-11-12T09:15:00+01:00", "messageId": [ "a3@example.org" ], "inReplyTo": [ "a2@example.com" ], "references": [ "a1@example.org", "a2@example.com" ], "from": [ { "name": "Alice Example", "email": "alice@example.org" } ], "to": [ { "name": "Test User", "email": "user@example.com" } ], "cc": null, "bcc": null, "replyTo": [ { "name": "Alice (work)", "email": "alice.work@example.org" } ], "subject": "Re: Quarterly plan", "hasAttachment": true, "preview": "Duis aute irure dolor in reprehenderit. Draft attached.", "bodyValues": { "1": { "value": "Duis aute irure dolor in reprehenderit.\n\nDraft attached.\n", "isEncodingProblem": false, "isTruncated": false } }, "textBody": [ { "partId": "1", "blobId": "blob-a3-1", "size": 60, "name": null, "type": "text/plain", "charset": "utf-8", "disposition": null, "cid": null, "language": null, "location": null } ], "htmlBody": [ { "partId": "1", "blobId": "blob-a3-1", "size": 60, "name": null, "type": "text/plain", "charset": "utf-8", "disposition": null, "cid": null, "language": null, "location": null } ], "attachments": [ { "partId": "2", "blobId": "blob-att-plan", "size": 46000, "name": "plan.pdf", "type": "application/pdf", "charset": null, "disposition": "attachment", "cid": null, "language": null, "location": null } ] }, { "id": "e-b1", "blobId": "blob-b1", "threadId": "t-bob", "mailboxIds": { "mb-inbox": true }, "keywords": { "$flagged": true }, "size": 5200, "receivedAt": "2026-11-13T16:40:00Z", "sentAt": "2026-11-13T16:40:00Z", "messageId": [ "b1@example.net" ], "inReplyTo": null, "references": null, "from": [ { "name": "Bob Newsletter", "email": "news@example.net" } ], "to": [ { "name": null, "email": "user@example.com" } ], "cc": null, "bcc": null, "replyTo": null, "subject": "Weekly digest", "hasAttachment": false, "preview": "Excepteur sint occaecat cupidatat non proident.", "bodyValues": { "1": { "value": "

Weekly digest

Excepteur sint occaecat cupidatat non proident.

Read more

", "isEncodingProblem": false, "isTruncated": false } }, "textBody": [ { "partId": "1", "blobId": "blob-b1-1", "size": 160, "name": null, "type": "text/html", "charset": "utf-8", "disposition": null, "cid": null, "language": null, "location": null } ], "htmlBody": [ { "partId": "1", "blobId": "blob-b1-1", "size": 160, "name": null, "type": "text/html", "charset": "utf-8", "disposition": null, "cid": null, "language": null, "location": null } ], "attachments": [ { "partId": "2", "blobId": "blob-b1-logo", "size": 2300, "name": "logo.png", "type": "image/png", "charset": null, "disposition": "inline", "cid": "logo@example.net", "language": null, "location": null } ] }, { "id": "e-c1", "blobId": "blob-c1", "threadId": "t-carol", "mailboxIds": { "mb-inbox": true }, "keywords": { "$seen": true }, "size": 1200, "receivedAt": "2026-11-11T12:00:00Z", "sentAt": "2026-11-11T12:00:00Z", "messageId": [ "c1@example.net" ], "inReplyTo": null, "references": null, "from": [ { "name": "Carol", "email": "carol@example.net" } ], "to": [ { "name": "Test User", "email": "user@example.com" } ], "cc": null, "bcc": null, "replyTo": null, "subject": "Lunch?", "hasAttachment": false, "preview": "Quis autem vel eum iure reprehenderit?", "bodyValues": { "1": { "value": "Quis autem vel eum iure reprehenderit?\n", "isEncodingProblem": false, "isTruncated": false } }, "textBody": [ { "partId": "1", "blobId": "blob-c1-1", "size": 40, "name": null, "type": "text/plain", "charset": "utf-8", "disposition": null, "cid": null, "language": null, "location": null } ], "htmlBody": [ { "partId": "1", "blobId": "blob-c1-1", "size": 40, "name": null, "type": "text/plain", "charset": "utf-8", "disposition": null, "cid": null, "language": null, "location": null } ], "attachments": [] }, { "id": "e-d1", "blobId": "blob-d1", "threadId": "t-dave", "mailboxIds": { "mb-archive": true }, "keywords": { "$seen": true }, "size": 900, "receivedAt": "2026-10-01T07:00:00Z", "sentAt": "2026-10-01T07:00:00Z", "messageId": [ "d1@example.org" ], "inReplyTo": null, "references": null, "from": [ { "name": "Dave", "email": "dave@example.org" } ], "to": [ { "name": "Test User", "email": "user@example.com" } ], "cc": null, "bcc": null, "replyTo": null, "subject": "Old receipt", "hasAttachment": false, "preview": "Nam libero tempore, cum soluta nobis.", "bodyValues": { "1": { "value": "Nam libero tempore, cum soluta nobis.\n", "isEncodingProblem": false, "isTruncated": false } }, "textBody": [ { "partId": "1", "blobId": "blob-d1-1", "size": 40, "name": null, "type": "text/plain", "charset": "utf-8", "disposition": null, "cid": null, "language": null, "location": null } ], "htmlBody": [ { "partId": "1", "blobId": "blob-d1-1", "size": 40, "name": null, "type": "text/plain", "charset": "utf-8", "disposition": null, "cid": null, "language": null, "location": null } ], "attachments": [] }, { "id": "e-draft1", "blobId": "blob-draft1", "threadId": "t-draft1", "mailboxIds": { "mb-drafts": true }, "keywords": { "$seen": true, "$draft": true }, "size": 400, "receivedAt": "2026-11-13T20:00:00Z", "sentAt": null, "messageId": [ "draft1@example.com" ], "inReplyTo": null, "references": null, "from": [ { "name": "Test User", "email": "user@example.com" } ], "to": [ { "name": null, "email": "dave@example.org" } ], "cc": null, "bcc": null, "replyTo": null, "subject": "Unfinished thoughts", "hasAttachment": false, "preview": "Temporibus autem quibusdam.", "bodyValues": { "1": { "value": "Temporibus autem quibusdam.\n", "isEncodingProblem": false, "isTruncated": false } }, "textBody": [ { "partId": "1", "blobId": "blob-draft1-1", "size": 30, "name": null, "type": "text/plain", "charset": "utf-8", "disposition": null, "cid": null, "language": null, "location": null } ], "htmlBody": [ { "partId": "1", "blobId": "blob-draft1-1", "size": 30, "name": null, "type": "text/plain", "charset": "utf-8", "disposition": null, "cid": null, "language": null, "location": null } ], "attachments": [] } ], "Identity": [ { "id": "id-main", "name": "Test User", "email": "user@example.com", "replyTo": null, "bcc": null, "textSignature": "", "htmlSignature": "", "mayDelete": false }, { "id": "id-alias", "name": "Test User", "email": "alias@example.com", "replyTo": null, "bcc": null, "textSignature": "-- \nSent from an alias", "htmlSignature": "", "mayDelete": true } ] }, "blobs": { "blob-att-plan": "%PDF-1.4 fake pdf content for tests", "blob-a1": "From: Alice Example \r\nTo: Test User \r\nSubject: Quarterly plan\r\nMessage-ID: \r\n\r\nLorem ipsum dolor sit amet.\r\n", "blob-b1-logo": "base64:iVBORw0KGgo=" } }