Description
Why?
The use case: I want the mail user agent to be able to specify per-body-part specific headers.
A good example is hints about the language of a specific part. Which could be described with `Content-Language`.
CF https://github.com/linagora/tmail-flutter/pull/2343
How?
The JMAP specification allows specifying specific headers per body part but James does not implement this.
We likely should.
Sample request
["Email/set", { "accountId": "$ACCOUNT_ID", "create": { "aaaaaa": { "mailboxIds": { "${mailboxId.serialize}": true }, "subject": "World domination", "htmlBody": [ { "partId": "a49d", "type": "text/html" } ], "bodyValues": { "a49d": { "value": "<p>a body</p>", "isTruncated": false, "isEncodingProblem": false, "header:Specific:asText": "MATCHME" } } } } }, "c1"]
Attachments
Issue Links
- links to