---
title: "Download a message as .eml"
method: GET
path: "/api/v1/messages/{id}/raw"
tags: ["Messages"]
---

# Download a message as .eml

`GET /api/v1/messages/{id}/raw`

## Request

- Base URL: `https://supermailos.com`
- URL: `https://supermailos.com/api/v1/messages/{id}/raw`
- Auth: HTTP bearer

The message as an RFC 5322 file, rebuilt from the stored headers, bodies and attachments. Not byte-identical to the original (transport headers and signatures are not kept). An AI agent's own key gets 403: it reads messages' visible text instead.

## Path parameters

- `id` string, required

## Response `200`

The .eml file.

## Other responses

- `401`: Missing, invalid or revoked API key.
- `403`: The key lacks the scope (`missing_scope`) or the access (`forbidden`).
- `404`: Not found — or not reachable with this key.
- `429`: Too many requests.

---

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