---
title: "Get a thread message's raw content"
canonical: "https://bird.com/docs/api/reference/get-email-thread-message-raw"
---

# Get a thread message's raw content

`GET /v1/email/threads/{thread_id}/messages/{message_id}/raw`

Returns the original message exactly as received, in RFC 5322 (MIME) format. Available for received messages for 30 days after the message occurred. Later requests return `410 Gone`. Sent messages have no stored raw form and return `404`.

## Code samples

**CLI**

```sh
bird email threads messages raw <thread-id> <message-id>
```

Examples: [CLI](/docs/api/reference/get-email-thread-message-raw.cli.md) · [MCP](/docs/api/reference/get-email-thread-message-raw.mcp.md) · [cURL](/docs/api/reference/get-email-thread-message-raw.curl.md)

## Path parameters

- `thread_id` (string): Thread identifier. Starts with `thr_`.
- `message_id` (string): Message ID (`rem_` for a received message, `em_` for a sent one).

## Related resources

- [Getting started with email](/learn/email/getting-started-with-email) (video)
- [Email](/email-api) (product)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=email)
