Skip to main content

Get a message

GET 

/api/accounts/:accountId/folders/:folder/messages/:uid

Returns the full, parsed message: all address fields, text and html bodies, the raw source, and attachments with their content as base64. When the message has no HTML part, html is generated from the text and textOnly is true. Calendar invitation attachments (ICS) also carry the parsed event.

Opening a message adds the \Seen flag, and its sender and recipients (other than the account's own addresses) are added to the user's collected addresses.

A UID that is not in the folder returns 404; a folder that cannot be opened returns 424.

Request​

Responses​

Full message.