outlook.getMessage returns a message’s body and metadata.
Example
automations/get-outlook-message.automation.ts
Inputs
RequiredmessageId: string is Outlook’s opaque message ID. Optional second argument { account } defaults to the project Microsoft binding. The action doesn’t accept a conversation ID.
Output
Returns a completeOutlookMessage, 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 doesn’t include their contents. Use List attachments.