Mail
Read a message
GET/api/v1/mail/messages/:uid
Who can use this: Any signed-in accountAs Markdown
The body is the message's plain-text part. A message sent only as HTML comes back with an empty body, and attachments are left out. Reading a message marks it as read, as opening it in an email program does.
Parameters
| Name | Where | What it is |
|---|---|---|
| uid required | path | The message's number, from List your recent messages.e.g. 42 |
| mailbox | query | The folder the message is in. INBOX if you leave it out. |
Good to know
- A number that isn't in that folder answers 404.