OptionalattachmentsAn array of files attached to the message.
OptionalbccAn array of bcc recipients.
OptionalbodyThe full HTML message body. Messages with only plain-text representations are up-converted to HTML.
OptionalccAn array of cc recipients.
OptionalcustomAn array of custom headers to add to the message.
Unix timestamp of when the message was received by the mail server. This may be different from the unverified Date header in raw message object.
The ID of the folder(s) the message appears in.
OptionalfromAn array of message senders.
Grant ID of the Nylas account.
The unique identifier for the message.
OptionalisWhen true, the message body is sent as plain text and the MIME data doesn't include the HTML version of the message. When false, the message body is sent as HTML. Defaults to false.
The type of object.
OptionalreplyAn array of name and email pairs that override the sent reply-to headers.
OptionalreplyThe ID of the message that you are replying to.
OptionalsendUnix timestamp to send the message at.
OptionalsnippetA short snippet of the message body. This is the first 100 characters of the message body, with any HTML tags removed.
OptionalstarredWhether or not the message has been starred by the user.
OptionalsubjectThe message subject.
OptionalthreadA reference to the parent thread object. If this is a new draft, the thread will be empty.
An array of message recipients.
OptionaltrackingOptions for tracking opens, links, and thread replies.
OptionalunreadWhether or not the message has been read by the user.
Interface representing a Nylas Draft object.