outlook.listMessages returns messages with body and preview.
Example
automations/list-recent-outlook-mail.automation.ts
Inputs
Optionalfolder is a display path, folder ID, or well-known name. Optional filter and orderBy are OData expressions. limit defaults to 100 and permits 1–10,000 across Graph pages. Second argument { account } selects the Microsoft binding.
Output
ReturnsOutlookMessage[]. A message contains messageId, subject, optional body: { content; contentType: "text" | "html" }, preview, recipients, sender, timestamps, IDs, read/draft/attachment state, categories, importance, flag, Focused Inbox classification, folder, web link, and ETag. Recipient arrays and categories default to []. Subject defaults to an empty string.
This action doesn’t download attachments. Use outlook.listAttachments or outlook.getAttachment with the message ID.