Skip to main content

Upload message

POST 

/v1/account/:account/message

Upload a message structure, compile it into an EML file and store it into selected mailbox.

For MS Graph accounts only drafts can be uploaded, and the draft flag cannot be changed afterwards.

For Gmail API accounts the flags and internalDate fields are ignored. The message is inserted with the target label only, and its internal date is taken from the Date header of the message itself.

Request​

Responses​

Returns the uploaded message with the identifiers the provider assigned to it.