Fastmail draft create profile

org.intentschema.communication.email.draft.create.v1@com.fastmail.v1

JSON: bare · @sha256:9468f82e09e8…
Hash: sha256:9468f82e09e8cafae4c6e356c81b244f136526cd244d0b2a56f7f1492b363593

Fastmail JMAP profile for draft create.

Implements: Create email draft (org.intentschema.communication.email.draft.create.v1)

Payload

FieldTypeDescription
target *Target(system = "fastmail", required: system)
object *object
idempotency_keystring
object
FieldTypeDescription
fromstring (email)[]
tostring (email)[]
ccstring (email)[]
bccstring (email)[]
subjectstring
textBodystring
htmlBodystring
attachmentsBlobRef[]
inReplyTostringOptional message id this draft is in reply to.

Result

FieldTypeDescription
external_id *stringProvider draft id.
created_atstring (date-time)

API mapping

FieldValue
base_urlhttps://api.fastmail.com
methodPOST
path/jmap/api/
jmap_methodEmail/set
scopesurn:ietf:params:jmap:mail
docshttps://jmap.io/spec-mail.html#email-set

Field mapping

Intent fieldAPI parameter
target.external_idEmail/set create
object.toto[].email
object.subjectsubject
object.textBodytextBody[].value
(implicit)keywords.$draft: true, mailboxIds: Drafts