{ "$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." } } }