---
title: "Get message HTML body (dirty)"
method: GET
path: "/dirty/{email}/{messageId}"
tags: ["Messages"]
---

# Get message HTML body (dirty)

`GET /dirty/{email}/{messageId}`

Get a message's HTML content.

Attached images are inlined and nothing has been stripped.

When no HTML body was sent in the original message, a simple HTML body will be created.

Use the querystring param ?download=1 to trigger file download in browser.

## Response `200`

OK

## Other responses

- `401` — Not authorized. You may need to log in first.
- `404` — Message not found by id...

---

[API](https://skmtc.net/mailsac/apis/mailsac-api-specification.md) · [All operations](https://skmtc.net/mailsac/apis/mailsac-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mailsac/mailsac-api-specification/versions/5f8b55c76229/schema)
