---
title: "Update email outbox entry"
method: PATCH
path: "/emails/outbox/{id}"
tags: ["Emails"]
---

# Update email outbox entry

`PATCH /emails/outbox/{id}`

Updates an email in the outbox. Can be used to edit email content, pause/resume, or cancel emails. Only emails in editable states (`paused`, `preparing`, `rendering`, `render-error`, `scheduled`, `queued`, `server-error`) can be modified.

## Path parameters

- `id` string

## Query parameters

- `status` string
- `simple_status` string

## Request body

- object
  - `tsx_source` string
  - `theme_id` 'null', nullable
  - `to` object
  - `variables` object
  - `skip_deliverability_check` boolean
  - `scheduled_at_millis` number
  - `is_paused` boolean
  - `cancel` boolean

## Response `200`

Successful response

- unknown

---

[API](https://skmtc.net/hexclave/apis/hexclave-rest-api-3.md) · [All operations](https://skmtc.net/hexclave/apis/hexclave-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hexclave/hexclave-rest-api-3/revisions/9b9326fe08a5/schema)
