---
title: "Send an email"
method: POST
path: "/api/e2/emails"
tags: ["Emails"]
---

# Send an email

`POST /api/e2/emails`

Send an email immediately or schedule it for later using the scheduled_at parameter. Supports HTML/text content, attachments, and custom headers.

## Request body

- object
  - `from` string, required — Sender email address
  - `to` union, required — Recipient email address(es)
    - string
    - string[]
  - `subject` string, required — Email subject
  - `html` string — HTML content of the email
  - `text` string — Plain text content of the email
  - `cc` union
    - string
    - string[]
  - `bcc` union
    - string
    - string[]
  - `reply_to` union
    - string
    - string[]
  - `headers` object — Custom email headers
  - `attachments` object[]
    - `filename` string, required
    - `content` string, required
    - `content_type` string
    - `path` string
  - `tags` object[]
    - `name` string, required
    - `value` string, required
  - `scheduled_at` string — ISO 8601 date or natural language for scheduling
  - `timezone` string — Timezone for natural language parsing

## Response `200`

Response for status 200

- object
  - `id` string, required
  - `message_id` string
  - `scheduled_at` string
  - `status` 'sent' | 'scheduled'
  - `timezone` string

## Other responses

- `400` — Response for status 400
- `401` — Response for status 401
- `403` — Response for status 403
- `429` — Response for status 429
- `500` — Response for status 500

## Changes

- **2026-01-10** `04a8a5e5040d` — 1 breaking, 3 info
  - removed the success response with the status `201`
  - added the optional property `scheduled_at` to the response with the `200` status
  - added the optional property `status` to the response with the `200` status
  - added the optional property `timezone` to the response with the `200` status

[Change history](https://skmtc.dev/inboundemail/apis/inbound-email-api/changes/api/e2/emails/post.md)

---

[API](https://skmtc.dev/inboundemail/apis/inbound-email-api.md) · [All operations](https://skmtc.dev/inboundemail/apis/inbound-email-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/inboundemail/inbound-email-api/revisions/04a8a5e5040d/schema)
