Get Messages By Id
Retrieves email messages from Office 365 Outlook by message ID.
Category: Microsoft Office 365 & OneDrive · Group: Office 365 · Activity name: GetMessagesById

Example
outputVariable = GetMessagesById(messageId="<messageId>", includeAttachments=True)
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| Message Id | string | |||
| Include Attachments | boolean | Download the file attachments and save them on local temp drive. The path is available through 'Extended Result' |
Outputs
| Name | Type | Description |
|---|---|---|
| outputVariable | json | Specifies the name of the variable that will store the value of the JSON returned by the activity. It has the following structure: { "Subject": string, "BodyPreview": string, "BodyContent": string, "HasAttachments": bool, "Attachments": string[] } |