Optional
attachmentsAn array of files to attach 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.
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 request to create a draft.