Skip to navigation

The Message object

The Message object is used to represent an email message.

idstringOptionalRead-onlyformat: "uuid"
remote_idstring or nullOptional

The third-party API ID of the matching object.

created_atdatetimeOptionalRead-only
The datetime that this object was created by Merge.
modified_atdatetimeOptionalRead-only
The datetime that this object was modified by Merge.
subjectstring or nullOptional
The subject of the message.
body_textstring or nullOptional
The body text of the message.
message_urlstring or nullOptionalformat: "uri"<=2000 characters
The 3rd party url of the message.
sent_atdatetime or nullOptional
When the message was sent.
received_atdatetime or nullOptional
When the message was received.
is_draftboolean or nullOptional
Whether the message is a draft.
from_addressstring or nullOptionalformat: "uuid"
The sender of the message.
threadstring or nullOptionalformat: "uuid"
The thread that the message belongs to.
tolist of stringsOptional
cclist of stringsOptional
bcclist of stringsOptional
mailboxeslist of stringsOptional
permissionslist of objectsOptionalRead-only
folderslist of stringsOptional
remote_was_deletedbooleanOptional

Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.