Skip to main content
getMessage loads one message’s full body and normalized metadata.

Example

automations/get-outlook-message.automation.ts

Inputs

Required messageId: string is Outlook’s opaque message ID. Optional account defaults to the project Microsoft binding. A conversation ID is not accepted.

Output

Returns a complete OutlookMessage, including body, preview, recipients, sender, subject, timestamps, categories, importance, flag, folder and conversation IDs, read/draft/attachment state, Focused Inbox classification, web link, and ETag where available. hasAttachments indicates that attachments exist but does not include their contents; use List attachments.