Get Original Email - Microsoft Graph Mail
This Playbook is part of the Microsoft Graph Mail Pack.#
Supported versions
Supported Cortex XSOAR versions: 6.0.0 and later.
This playbook retrieves the original email using the Microsoft Graph Mail integration. Note: You must have the necessary permissions in the Microsoft Graph Mail integration as described in the message-get API and the user-list-messages API
Dependencies#
This playbook uses the following sub-playbooks, integrations, and scripts.
Sub-playbooks#
This playbook does not use any sub-playbooks.
Integrations#
- MicrosoftGraphMail
 
Scripts#
- Set
 - IsIntegrationAvailable
 
Commands#
- msgraph-mail-list-emails
 - msgraph-mail-get-email-as-eml
 
Playbook Inputs#
| Name | Description | Default Value | Required | 
|---|---|---|---|
| UserID | The email address of the reporting user. | Optional | |
| MessageID | The InReplyTo header in the forwarded email. | Optional | |
| ThreadTopic | The ThreadTopic header in the forwarded email. | Optional | |
| PagesToPull | The number of pages of emails to return (maximum is 10 emails per page). | 10 | Optional | 
Playbook Outputs#
| Path | Description | Type | 
|---|---|---|
| File | The original email as an EML file. | string | 
Playbook Image#
