Skip to main content

Get Original Email - EWS v2

This Playbook is part of the Microsoft Exchange On-Premise Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

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.


This playbook uses the following sub-playbooks, integrations, and scripts.


This playbook does not use any sub-playbooks.


  • EWSO365
  • EWSv2


  • IsIntegrationAvailable


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

Playbook Inputs#

NameDescriptionDefault ValueRequired
TargetMailboxThe target mailbox to retrieve the EML file from.Optional
MessageIDThe InReplyTo header in the forwarded email.Optional

Playbook Outputs#

FileThe original email as an EML file.string

Playbook Image#

Get Original Email - EWS v2