---
title: "Download raw email"
method: GET
path: "/emails/{id}/raw"
tags: ["Emails"]
---

# Download raw email

`GET /emails/{id}/raw`

Downloads the raw RFC 822 email file (.eml). Authenticates via
a signed download token (provided in webhook payloads) or a
valid session.

## Query parameters

- `token` string

## Response `200`

Raw email file

## Other responses

- `400` — Invalid request parameters
- `401` — Invalid or missing API key
- `404` — Resource not found

---

[API](https://skmtc.dev/primitive/apis/primitive-api.md) · [All operations](https://skmtc.dev/primitive/apis/primitive-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/primitive/primitive-api/revisions/c2299d28022c/schema)
