---
title: "Create outbound email"
method: POST
path: "/mailboxes/{mailboxId}/emails"
tags: ["Mailbox Emails"]
---

# Create outbound email

`POST /mailboxes/{mailboxId}/emails`

## Request

- Base URL: `https://api.tinysend.com/v1`
- URL: `https://api.tinysend.com/v1/mailboxes/{mailboxId}/emails`
- Auth: HTTP bearer

## Request body

- object
  - `to_address` string, email, required
  - `subject` string, required
  - `text_body` string, required: Plain-text body. Sent via Cloudflare Email Service from the mailbox address.
  - `html_body` string: Optional HTML body.
  - `in_reply_to` string: RFC Message-ID of the email being replied to (threads the reply).
  - `tags` EmailTag[]: The email's labels/channels — array of {name, value}. Use name 'channel' for provenance (e.g. {name:'channel', value:'herdr'}).
    - `name` string, required
    - `value` string, required

## Response `201`

Created email

- MailboxEmailDetail
  - `id` string, required
  - `direction` string, required
  - `from_address` string, required
  - `to_address` string, required
  - `subject` string, nullable, required
  - `message_id` string, nullable, required
  - `in_reply_to` string, nullable, required
  - `text_body` string, nullable, required: Plain-text body, resolved from storage.
  - `html_body` string, nullable, required: HTML body, resolved from storage.
  - `status` string, required
  - `handler_results` object, nullable, required
  - `extracted_data` object, nullable, required
  - `tags` EmailTag[], nullable, required
    - `name` string, required
    - `value` string, required
  - `contact_id` string, nullable, required
  - `created_at` string, required

## Other responses

- `404`: Not found

---

[API](https://skmtc.dev/tinysend/apis/tinysend-api.md) · [All operations](https://skmtc.dev/tinysend/apis/tinysend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tinysend/apis/tinysend-api/revisions/2dc68ac83332?raw)
