# `bird email threads messages raw`

## Usage

```bash
bird email threads messages raw <thread-id> <message-id> [flags]
```

## Description

Download a thread message's original RFC 5322 (MIME) bytes — the message exactly as it arrived. Use get for parsed metadata and body for parsed HTML/text.

The bytes are written to --output when set, otherwise to stdout.

## Examples

```bash
bird email threads messages raw thr_123 rem_456 --output message.eml
```

## Options

| Name           | Description                                    |
| -------------- | ---------------------------------------------- |
| `--output, -o` | Write the bytes to this file instead of stdout |

## Related

| Name                                                                                                | Description                                  |
| --------------------------------------------------------------------------------------------------- | -------------------------------------------- |
| [`bird email threads messages attachment`](/docs/cli/reference/email-threads-messages-attachment)   | Download an attachment from a thread message |
| [`bird email threads messages attachments`](/docs/cli/reference/email-threads-messages-attachments) | List a thread message's attachments          |
| [`bird email threads messages body`](/docs/cli/reference/email-threads-messages-body)               | Get a thread message's original body         |
| [`bird email threads messages get`](/docs/cli/reference/email-threads-messages-get)                 | Get a message in a thread                    |
| [`bird email threads messages list`](/docs/cli/reference/email-threads-messages-list)               | List messages in a thread                    |
| [`bird email threads messages reply`](/docs/cli/reference/email-threads-messages-reply)             | Reply to a thread message                    |