Get Original Email - EWS v2

This v2 playbook retrieves the original email in a thread as an EML file (and not an email object as in the previous version) by using the EWS v2 or EWSO365 integration. It also reduces the number of tasks to perform the fetch action. Note: You must have the necessary eDiscovery permissions in the EWS integration to execute a global search.

Microsoft Exchange On-Premise · 9 tasks · 2 inputs · 1 output

Inputs

  • TargetMailbox — The target mailbox to retrieve the EML file from.
  • MessageID — The InReplyTo header in the forwarded email.

Outputs

  • File — The original email as an EML file.

Commands used

ews-get-items-as-eml ews-search-mailbox

Flowchart

yes Inputs-Exist yes yes Start Start Is EWS v2 enabled? - IsIntegrationAvailable Is EWS v2 enabled? IsIntegrationAvailable Done Done Verify required inputs Verify required inputs Search for messages by MessageID - ews-search-mailbox Search for messages by Me... ews-search-mailbox Was a matching email found? Was a matching email found? Get original email as eml - ews-get-items-as-eml Get original email as eml ews-get-items-as-eml Check integrations Check integrations Is EWSO365 enabled? - IsIntegrationAvailable Is EWSO365 enabled? IsIntegrationAvailable