Get Original Email - Microsoft Graph Mail
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](https://docs.microsoft.com/en-us/graph/api/message-get) and the [user-list-messages API](https://docs.microsoft.com/en-us/graph/api/user-list-messages)
- Pack
- MicrosoftGraphMail
- Tasks
- 8
Inputs
- UserID — The email address of the reporting user.
- MessageID — The InReplyTo header in the forwarded email.
- PagesToPull — The number of pages of emails to return (maximum is 10 emails per page).
Outputs
- File — The original email as an EML file.
Commands used
- msgraph-mail-get-email-as-eml
- msgraph-mail-list-emails