/v3/grants/{grant_id}/messages/sendSend a Message
Sends the specified message. If you want to send the message immediately, omit the send_at field
from your request. If you want to schedule it to be sent later, set send_at to the time you want
to send the message, in seconds using the Unix timestamp format.
For more information about scheduling messages, see Schedule messages to send in the future.
(Google and Microsoft Graph only) When scheduling a message, you can set use_draft to true to
save the message in the user's Drafts folder until it's sent.
Nylas also supports sending raw MIME messages. For more information, see Send messages with MIME data.
Limitations
Microsoft Graph and iCloud don't support the List-Unsubscribe-Post or List-Unsubscribe headers.
Path parameters
Header parameters
A unique, client-generated key (max 256 characters) that lets you safely retry this send request
without sending duplicate emails. Nylas caches the response (success or error) for 1 hour, scoped
per grant. A retry with the same key and payload returns the cached response with the
Idempotent-Response: true header set. See
Idempotent send requests for the full retry behavior and
error responses.
reply_to_message_idThe ID of the message you're replying to. For Gmail and Microsoft Graph, this is the
message ID on the provider. For IMAP Send, this is the
RFC822 Message-ID header
of the message you're replying to.
signature_idThe ID of a signature to append to the message body. Nylas inserts the signature after a line break at the end of the body, including after any quoted text in replies and forwards. Only one signature can be used per message.