# Extract email body
> Supported in: Batch
Extracts the email body from an email media item as either plain text or html.
**Expression categories:** Media
## Declared arguments
* **Media reference:** The email media item to extract the body from.
*Expression\*
* *optional* **Error handling:** Determines the behavior of the pipeline for inputs that fail to process.
*Enum\*
* *optional* **Output format:** The format to return the extracted email body as. Defaults to plain text.
*Enum\*
**Output type:** *String*