Optional attachmentsAn array of files attached to the message.
Optional bccAn array of bcc recipients.
Optional bodyThe full HTML message body. Messages with only plain-text representations are up-converted to HTML.
Optional ccAn array of cc recipients.
Unix timestamp of when the message was created.
Optional customAn 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.
Optional fromAn array of message senders.
Grant ID of the Nylas account.
The unique identifier for the message.
The type of object.
Optional replyAn array of name and email pairs that override the sent reply-to headers.
Optional replyThe ID of the message that you are replying to.
Optional sendUnix timestamp to send the message at.
Optional snippetA short snippet of the message body. This is the first 100 characters of the message body, with any HTML tags removed.
Optional starredWhether or not the message has been starred by the user.
Optional subjectThe message subject.
Optional threadA reference to the parent thread object. If this is a new draft, the thread will be empty.
An array of message recipients.
Optional trackingOptions for tracking opens, links, and thread replies.
Optional unreadWhether or not the message has been read by the user.
Generated using TypeDoc
Interface representing a Nylas Draft object.