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.
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.
OptionalfromAn array of message senders.
Grant ID of the Nylas account.
OptionalheadersThe message headers. Only present if the 'fields' query parameter is set to includeHeaders.
The unique identifier for the message.
OptionalmetadataA list of key-value pairs storing additional data.
The type of object.
OptionalrawA Base64url-encoded string containing the message data (including the body content). Only present if the 'fields' query parameter is set to raw_mime. When this field is requested, only grant_id, object, id, and raw_mime fields are returned.
OptionalreplyAn array of name and email pairs that override the sent reply-to headers.
OptionalscheduleThe unique identifier for the scheduled message.
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.
OptionaltrackingThe message tracking options. Only present if the 'fields' query parameter is set to include_tracking_options.
OptionalunreadWhether or not the message has been read by the user.
OptionaluseWhether or not to use draft support. This is primarily used when dealing with large attachments.
Interface representing the response after cleaning a message.