Files
inbuxa-server/tests/resources/jmap/email_get/text_attachments.json
T
jcoffey-dev 7dae9b29fd Import upstream v0.16.22, stripped
Upstream commit: 474dd0229cb20cf513036619781ed97bd8073c3f
Enterprise-only files removed or emptied: 63
Enterprise-only snippets removed: 117 in 50 files
Dangling module declarations removed: 5
Cargo edits turning enterprise off: 14
Verification: clean
Enterprise feature gates left for rebuilt features: 19 in 18 files

Produced by tools/fork/strip.py. The full report is in docs/fork/strip-reports/ on main.
2026-09-18 10:21:56 -07:00

270 lines
6.2 KiB
JSON

{
"mailboxIds": {
"a": true
},
"keywords": {
"tag": true
},
"size": 1198,
"receivedAt": "2007-12-18T17:46:40Z",
"from": [
{
"name": "Jane Smith",
"email": "[email protected]"
}
],
"to": [
{
"name": "John Doe",
"email": "[email protected]"
}
],
"subject": "Project sync",
"sentAt": "2025-04-15T09:12:33Z",
"bodyStructure": {
"headers": [
{
"name": "From",
"value": " Jane Smith <[email protected]>"
},
{
"name": "To",
"value": " John Doe <[email protected]>"
},
{
"name": "Subject",
"value": " Project sync"
},
{
"name": "Date",
"value": " Tue, 15 Apr 2025 09:12:33 +0000"
},
{
"name": "MIME-Version",
"value": " 1.0"
},
{
"name": "Content-Type",
"value": " multipart/mixed; boundary=\"outer\""
}
],
"type": "multipart/mixed",
"subParts": [
{
"partId": "1",
"blobId": "blob_0",
"size": 47,
"headers": [
{
"name": "Content-Type",
"value": " text/plain; charset=utf-8"
}
],
"type": "text/plain",
"charset": "utf-8"
},
{
"partId": "2",
"blobId": "blob_1",
"size": 299,
"headers": [
{
"name": "Content-Type",
"value": " text/calendar; charset=utf-8; method=REQUEST"
}
],
"type": "text/calendar",
"charset": "utf-8"
},
{
"partId": "3",
"blobId": "blob_2",
"size": 60,
"headers": [
{
"name": "Content-Type",
"value": " text/plain; charset=utf-8; name=\"notes.txt\""
},
{
"name": "Content-Disposition",
"value": " attachment; filename=\"notes.txt\""
}
],
"name": "notes.txt",
"type": "text/plain",
"charset": "utf-8",
"disposition": "attachment"
},
{
"partId": "4",
"blobId": "blob_3",
"size": 51,
"headers": [
{
"name": "Content-Type",
"value": " text/html; charset=utf-8; name=\"report.html\""
},
{
"name": "Content-Disposition",
"value": " attachment; filename=\"report.html\""
}
],
"name": "report.html",
"type": "text/html",
"charset": "utf-8",
"disposition": "attachment"
},
{
"partId": "5",
"blobId": "blob_4",
"size": 11,
"headers": [
{
"name": "Content-Type",
"value": " application/octet-stream; name=\"blob.bin\""
},
{
"name": "Content-Disposition",
"value": " attachment; filename=\"blob.bin\""
},
{
"name": "Content-Transfer-Encoding",
"value": " base64"
}
],
"name": "blob.bin",
"type": "application/octet-stream",
"disposition": "attachment"
}
]
},
"bodyValues": {
"1": {
"value": "Please find the invite and the notes attached.\n",
"isEncodingProblem": false,
"isTruncated": false
},
"2": {
"value": "BEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//Example Corp//Scheduler//EN\nMETHOD:REQUEST\nBEGIN:VEVENT\nUID...",
"isEncodingProblem": false,
"isTruncated": true
},
"3": {
"value": "Agenda:\n- Review the milestones\n- Agree on the release date\n",
"isEncodingProblem": false,
"isTruncated": false
},
"4": {
"value": "<html><body><p>Quarterly report.</p></body></html>\n",
"isEncodingProblem": false,
"isTruncated": false
}
},
"textBody": [
{
"partId": "1",
"blobId": "blob_0",
"size": 47,
"headers": [
{
"name": "Content-Type",
"value": " text/plain; charset=utf-8"
}
],
"type": "text/plain",
"charset": "utf-8"
}
],
"htmlBody": [
{
"partId": "1",
"blobId": "blob_0",
"size": 47,
"headers": [
{
"name": "Content-Type",
"value": " text/plain; charset=utf-8"
}
],
"type": "text/plain",
"charset": "utf-8"
}
],
"attachments": [
{
"partId": "2",
"blobId": "blob_1",
"size": 299,
"headers": [
{
"name": "Content-Type",
"value": " text/calendar; charset=utf-8; method=REQUEST"
}
],
"type": "text/calendar",
"charset": "utf-8"
},
{
"partId": "3",
"blobId": "blob_2",
"size": 60,
"headers": [
{
"name": "Content-Type",
"value": " text/plain; charset=utf-8; name=\"notes.txt\""
},
{
"name": "Content-Disposition",
"value": " attachment; filename=\"notes.txt\""
}
],
"name": "notes.txt",
"type": "text/plain",
"charset": "utf-8",
"disposition": "attachment"
},
{
"partId": "4",
"blobId": "blob_3",
"size": 51,
"headers": [
{
"name": "Content-Type",
"value": " text/html; charset=utf-8; name=\"report.html\""
},
{
"name": "Content-Disposition",
"value": " attachment; filename=\"report.html\""
}
],
"name": "report.html",
"type": "text/html",
"charset": "utf-8",
"disposition": "attachment"
},
{
"partId": "5",
"blobId": "blob_4",
"size": 11,
"headers": [
{
"name": "Content-Type",
"value": " application/octet-stream; name=\"blob.bin\""
},
{
"name": "Content-Disposition",
"value": " attachment; filename=\"blob.bin\""
},
{
"name": "Content-Transfer-Encoding",
"value": " base64"
}
],
"name": "blob.bin",
"type": "application/octet-stream",
"disposition": "attachment"
}
],
"hasAttachment": true,
"preview": "Please find the invite and the notes attached.\n"
}