---
title: "Parse email files (EML, MSG, PST)"
method: POST
path: "/job/add/paperoffice_dataripper___email_parser"
tags: ["Document AI — OCR & IDP"]
---

# Parse email files (EML, MSG, PST)

`POST /job/add/paperoffice_dataripper___email_parser`

## Request

- Base URL: `https://api.paperoffice.ai/latest`
- URL: `https://api.paperoffice.ai/latest/job/add/paperoffice_dataripper___email_parser`
- Auth: HTTP bearer

Parse email containers (EML, MSG, PST) into structured parts and attachments for downstream document ingestion.

## Response `200`

Success

- object: E-Mail Parser (EML/MSG)
  - `status` 'success' | 'error', required: HTTP-Level Status
  - `job_id` string, required
  - `message` string: Human-readable status message
  - `pipeline` string: Name of the executed pipeline
  - `operation` string: Executed operation
  - `processing_time` string: Total processing time including queue (format: 123.45ms)
  - `result` object, required: The actual processing result
    - `status` 'completed' | 'failed' | 'timeout': Job-Level Status
    - `message` string: Pipeline-specific status message
    - `duration_ms` string: Pure pipeline processing time in ms
    - `output` object: Output
      - `from` string
      - `to` string
      - `subject` string
      - `date` string
      - `body_text` string
      - `body_html` string
      - `attachments` unknown[]
        - unknown

## Other responses

- `202`: Accepted — job continues in the background
- `4XX`: Error
- `5XX`: Error

---

[API](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api.md) · [All operations](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/revisions/c6a6228a4509?raw)
