## The original mail (EML) of a container (tenant:dms:read)

`GET /api/dms/v1/containers/{id}/eml`

Module: DMS · operationId: `getContainerEml` · Tag: Containers · Auth: access token (`Authorization: Bearer <accessToken>`)

Streams the container's EML document like `getDocumentContent` (inline by default, `download=true` for attachment); `404` when the container has none.

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `id` | path | string (uuid) | yes |  |
| `download` | query | boolean |  | `true` serves the file as attachment (default `false`) |

### Responses

- **200** The stored file with its MIME type (`*/*`)
- **403** Error (`application/json`)
- **404** Error (`application/json`)
- **503** Error (`application/json`)

### Example request

```bash
curl -X GET 'https://api.mbcom.cloud/api/dms/v1/containers/3f2b8c1e-7d4a-4e9b-9c2a-5b1d6e8f0a12/eml' \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```
