Return a Message
Returns the specified message.
Query parameters
Return the specified data for each message.
- standard: Returns the standard message payload.
- include_headers: Returns the message and its full set of headers.
- include_basic_headers: Returns the message with only the three RFC threading headers (Message-ID, In-Reply-To, References) in the headers array. Use this option when you only need to track message identity and thread relationships — payload size is significantly smaller than include_headers.
- include_tracking_options: Returns the message and its tracking settings.
- raw_mime: Returns the grant_id, object, id, and raw_mime fields for the message.
Specify fields that you want Nylas to return, as a comma-separated list (for example, select=id,updated_at). This allows you to receive only the portion of object data that you're interested in. You can use select to optimize response size and reduce latency by limiting queries to only the information that you need.
(IMAP, iCloud, and Yahoo only) When true, Nylas queries from the IMAP server directly instead of the Nylas database.
(Microsoft only) When provided, Nylas returns items that were shared from the specified email address. It also accepts grant ID. This parameter only accepts single email address or grant ID. Check out the Shared folders guide for more information.
Response
Message response
Example response
{
"request_id": "5fa64c92-e840-4357-86b9-2aa364d35b88"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.