Interface CreateDraftRequest

Interface representing a request to create a draft.

Hierarchy

Properties

attachments?: CreateAttachmentRequest[]

An array of files to attach to the message.

bcc?: EmailName[]

An array of bcc recipients.

body?: string

The full HTML message body. Messages with only plain-text representations are up-converted to HTML.

cc?: EmailName[]

An array of cc recipients.

customHeaders?: CustomHeader[]

An array of custom headers to add to the message.

from?: EmailName[]

An array of name/email address pairs that the message was sent from. This is usually one pair only, but can be many.

replyTo?: EmailName[]

An array of name and email pairs that override the sent reply-to headers.

replyToMessageId?: string

The ID of the message that you are replying to.

sendAt?: number

Unix timestamp to send the message at.

starred?: boolean

Whether or not the message has been starred by the user.

subject?: string

The message subject.

to: EmailName[]

An array of message recipients.

trackingOptions?: TrackingOptions

Options for tracking opens, links, and thread replies.

Generated using TypeDoc