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.
The cleaned HTML message body.
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.
Optional
headersThe message headers. Only present if the 'fields' query parameter is set to includeHeaders.
The unique identifier for the message.
Optional
metadataA list of key-value pairs storing additional data.
The type of object.
Optional
replyAn array of name and email pairs that override the sent reply-to headers.
Optional
scheduleThe unique identifier for the scheduled message.
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
unreadWhether or not the message has been read by the user.
Optional
useWhether or not to use draft support. This is primarily used when dealing with large attachments.
Generated using TypeDoc
Interface representing the response after cleaning a message.