# Retrieve received email

> Returns one received email with its text and HTML bodies, selected headers and attachment list.

Source: https://mailvina.com/docs/api-reference/receiving/retrieve-received-email · Base URL: https://api.mailvina.com · Guide: https://mailvina.com/docs/receiving

`GET /emails/receiving/:id`

**Path parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | yes | The received email ID (from the webhook or the list). |

**Request**

```bash
curl -X GET 'https://api.mailvina.com/emails/receiving/:id' \
  -H 'Authorization: Bearer mv_xxxxxxxxx'
```

```js
const res = await fetch('https://api.mailvina.com/emails/receiving/:id', {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.MAILVINA_API_KEY}`,
  },
});
const data = await res.json();
```

```python
import os, requests

res = requests.get(
    "https://api.mailvina.com/emails/receiving/:id",
    headers={"Authorization": f"Bearer {os.environ['MAILVINA_API_KEY']}"},
)
print(res.json())
```

**Response**

```json
{
  "object": "received_email",
  "id": "b4d17a0e-5f1c-4e8a-9d2b-7c3e6f1a2b90",
  "from": "Ada Lovelace <ada@example.com>",
  "to": [
    "support@inbound.acme.com"
  ],
  "subject": "Order #1042",
  "thread_id": "b4d17a0e-5f1c-4e8a-9d2b-7c3e6f1a2b90",
  "created_at": "2026-11-14T10:00:00.000Z",
  "size": 61840,
  "attachments": [
    {
      "id": "att_1",
      "filename": "receipt.pdf",
      "content_type": "application/pdf",
      "size": 48213
    }
  ],
  "text": "Hi, my order hasn’t arrived…",
  "html": "<div dir=\"ltr\">Hi, my order hasn’t arrived…</div>",
  "headers": {
    "message-id": "<CAF…@mail.gmail.com>",
    "date": "Sat, 14 Nov 2026 10:00:00 +0000"
  }
}
```

### The received email object

An email that arrived on one of your receiving domains.

**Fields**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `object` | `string` | no | Always `received_email`. |
| `id` | `string` | no | Unique ID of the received email. |
| `from` | `string` | no | Sender, with their name when given. |
| `to` | `string[]` | no | Recipients. |
| `cc` | `string[]` | no | Carbon-copy recipients. |
| `reply_to` | `string[]` | no | Reply-To addresses. |
| `subject` | `string` | no | Subject line. |
| `message_id` | `string \| null` | no | The sender’s Message-ID header. |
| `in_reply_to` | `string \| null` | no | The Message-ID it replies to, if it’s a reply. |
| `thread_id` | `string` | no | Groups the messages of one conversation. |
| `created_at` | `string` | no | When it was created (ISO 8601, UTC). |
| `size` | `number` | no | Size in bytes, attachments included. |
| `attachments` | `object[]` | no | Attached files. Download one with **Get attachment**. |
| `attachments[].id` | `string` | no | Attachment ID, e.g. `att_1`. |
| `attachments[].filename` | `string` | no | File name. |
| `attachments[].content_type` | `string` | no | MIME type. |
| `attachments[].size` | `number` | no | Size in bytes. |
| `text` | `string \| null` | no | Only when you retrieve one: the plain-text body. |
| `html` | `string \| null` | no | Only when you retrieve one: the HTML body. |
| `headers` | `object` | no | Only when you retrieve one: selected headers, keyed by lowercase name. |
