Hi, Email message was stored using the cURL command with the IMAP extension.
curl "imap://username:[email protected] <mailto:[email protected]>/<FOLDER>" -T <FILE> <FILE> text file contains email in RFC2822/RFC5322 format. When the email is fetched using JMAP, it is not showing up in the bodyValues but in attachments. What's causing the email to be interpreted as an attachment? I'd appreciate any feedback. { "methodResponses": [ [ "Email/get", { "state": "142", "list": [ { "id": "M89b6b83db2f6cb1cbd979ca9", "threadId": "T184561dcb99fc00e", "mailboxIds": { "f35eaefd-9a24-4138-9f51-4bac22ccbede": true }, "receivedAt": "2021-03-31T19:05:09Z", "header:List-POST:asURLs": null, "from": [ { "name": null, "email": "[email protected]" } ], "subject": null, "bodyValues": {}, "htmlBody": [], "attachments": [ { "partId": "1", "blobId": "G06696b9bb4a08d304ce5a7a4e46b9e7c1f243a4e", "size": 293, "type": "message/cpim" } ] } ], "notFound": [], "accountId": "[email protected]" }, "0" ] ], "sessionState": "0" } ------------------------------------------ Cyrus: Info Permalink: https://cyrus.topicbox.com/groups/info/Tbc4d7fa33d46ffa5-M2dbea642362ff4b7c5cdcca8 Delivery options: https://cyrus.topicbox.com/groups/info/subscription
