Microsoft Office 365 · Schema
Message
A message in a mailFolder. Contains the message subject, body, sender, recipients, and other metadata.
CloudCollaborationEnterpriseMicrosoftProductivity
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for the message. |
| subject | string | The subject of the message. |
| bodyPreview | string | The first 255 characters of the message body in text format. |
| toRecipients | array | The To recipients for the message. |
| ccRecipients | array | The Cc recipients for the message. |
| bccRecipients | array | The Bcc recipients for the message. |
| replyTo | array | The email addresses to use when replying. |
| conversationId | string | The ID of the conversation the email belongs to. |
| conversationIndex | string | The index of the message in the conversation. |
| receivedDateTime | string | The date and time the message was received. |
| sentDateTime | string | The date and time the message was sent. |
| createdDateTime | string | The date and time the message was created. |
| lastModifiedDateTime | string | The date and time the message was last changed. |
| hasAttachments | boolean | Indicates whether the message has attachments. |
| internetMessageId | string | The message ID in RFC2822 format. |
| importance | string | The importance of the message. |
| isRead | boolean | Indicates whether the message has been read. |
| isDraft | boolean | Indicates whether the message is a draft. |
| isDeliveryReceiptRequested | boolean | Indicates whether a delivery receipt is requested. |
| isReadReceiptRequested | boolean | Indicates whether a read receipt is requested. |
| categories | array | The categories associated with the message. |
| parentFolderId | string | The unique identifier for the message's parent mailFolder. |
| webLink | string | The URL to open the message in Outlook on the web. |
| inferenceClassification | string | The classification of the message based on inferred relevance. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Message",
"type": "object",
"description": "A message in a mailFolder. Contains the message subject, body, sender, recipients, and other metadata.",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the message."
},
"subject": {
"type": "string",
"description": "The subject of the message."
},
"bodyPreview": {
"type": "string",
"description": "The first 255 characters of the message body in text format."
},
"toRecipients": {
"type": "array",
"description": "The To recipients for the message."
},
"ccRecipients": {
"type": "array",
"description": "The Cc recipients for the message."
},
"bccRecipients": {
"type": "array",
"description": "The Bcc recipients for the message."
},
"replyTo": {
"type": "array",
"description": "The email addresses to use when replying."
},
"conversationId": {
"type": "string",
"description": "The ID of the conversation the email belongs to."
},
"conversationIndex": {
"type": "string",
"description": "The index of the message in the conversation."
},
"receivedDateTime": {
"type": "string",
"description": "The date and time the message was received."
},
"sentDateTime": {
"type": "string",
"description": "The date and time the message was sent."
},
"createdDateTime": {
"type": "string",
"description": "The date and time the message was created."
},
"lastModifiedDateTime": {
"type": "string",
"description": "The date and time the message was last changed."
},
"hasAttachments": {
"type": "boolean",
"description": "Indicates whether the message has attachments."
},
"internetMessageId": {
"type": "string",
"description": "The message ID in RFC2822 format."
},
"importance": {
"type": "string",
"description": "The importance of the message."
},
"isRead": {
"type": "boolean",
"description": "Indicates whether the message has been read."
},
"isDraft": {
"type": "boolean",
"description": "Indicates whether the message is a draft."
},
"isDeliveryReceiptRequested": {
"type": "boolean",
"description": "Indicates whether a delivery receipt is requested."
},
"isReadReceiptRequested": {
"type": "boolean",
"description": "Indicates whether a read receipt is requested."
},
"categories": {
"type": "array",
"description": "The categories associated with the message."
},
"parentFolderId": {
"type": "string",
"description": "The unique identifier for the message's parent mailFolder."
},
"webLink": {
"type": "string",
"description": "The URL to open the message in Outlook on the web."
},
"inferenceClassification": {
"type": "string",
"description": "The classification of the message based on inferred relevance."
}
}
}