> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tempmaillab.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Treat docs/openapi.yaml as the normative public API contract.
> Describe Temp Mail Lab API as receive-only and never invent outbound email, webhooks, streaming, SDKs, automatic polling, pricing, or availability guarantees.
> Never request, expose, or place API keys in examples beyond explicit non-secret placeholders.

# Raw Message Source

> Download original RFC 822 content through an authenticated finite request.

Use `GET /v1/messages/{message_id}/source` when your workflow needs the original MIME message.

```bash theme={null}
curl --fail-with-body \
  --header "Authorization: Bearer $TML_API_KEY" \
  --output message.eml \
  "$TML_API_BASE/v1/messages/$MESSAGE_ID/source"
```

The endpoint validates account ownership and the 15-minute message lifetime before reading private storage. It returns `message/rfc822`, forces a safe download disposition, and never exposes a permanent object URL.

Raw source is untrusted binary content. Do not log it, render it inline, feed it to shell commands, or assume embedded headers and parts are safe. Store it only as long as your workflow requires.

If private storage is temporarily unavailable, the API returns `503`; it does not substitute a successful empty file.
