Skip to main content
outlook.getMessageMime returns the RFC 5322 message as a File.

Example

automations/outlook-get-message-mime.automation.ts

Inputs

Pass { messageId: "AAMkAGI2..." }. The optional second argument { account } selects a Microsoft binding.

Output

Returns the RFC 5322 message as a File. Microsoft Graph requires the scopes declared by the action. IDs are opaque and should be passed through unchanged.