Send an email from an inbox. Pass sendAt to hold it until that time (at least 30 seconds ahead, within 30 days); the response is then 202 and the email is sent by the scheduler. Optionally pass an Idempotency-Key header to make retries safe: a repeat with the same key within 24 hours returns the original message instead of sending again. Without it the API generates a key and sends once. Use threadId to reply to an existing thread. Thread replies automatically copy senders who listed your inbox in Cc. When the latest inbound message was delivered by blind copy, the reply goes only to the recipients you specify.
Every recipient this call can reach — to, cc (including any address auto-CC’d on a thread reply), bcc, and replyTo — is checked against the inbox’s outbound correspondent policy before anything is sent. A single denied recipient rejects the whole send with 403 recipient_not_permitted; there is no partial delivery.
bcc recipients are delivered and stored on the outbound message, but they are not listed on the copy To and Cc recipients receive. An address already in to or cc is not also blind-copied.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
idempotency-key
string
Optional. Unique key (e.g. UUID) that makes retries safe: a repeat with the same key within 24 hours returns the original message instead of sending again. Generated server-side when omitted.
Path Parameters
id
string
required
Body
application/jsonmultipart/form-data
to
stringstring<email>[]
required
One email address, a comma-separated list, or an ordered array of addresses. Every To recipient is visible to the others.
body
string
required
Email body. Plain text or HTML — HTML is auto-detected and rendered, with a plain-text fallback generated automatically.
Required string length: 1 - 100000
subject
string
Required for new threads. Optional when threadId is set — the thread subject is used automatically (with Re: prefix).
Required string length: 1 - 998
bodyHtml
string
Provide only when the plain-text and HTML versions must differ. Omit for normal sends — put HTML in body instead.
Maximum string length: 500000
threadId
string
Thread ID for replies
includeQuote
boolean
When replying with threadId, append a quoted copy of the previous message to the body. Defaults to true. Set false to send only your reply text.
replyTo
string<email>
Optional. Address that replies should be routed to (set as the Reply-To MIME header). Free plan: must be the address of an inbox you own in OpenMail. Pro plan or higher: any valid email address.
cc
string<email>[]
Optional CC recipients. Visible to every recipient.
unsubscribe
boolean
Optional. Adds one-click List-Unsubscribe headers (RFC 8058), so Gmail, Yahoo and Apple Mail show a native unsubscribe button. Any {{unsubscribe_url}} in body or bodyHtml is replaced with the same link. A recipient who unsubscribes is suppressed for your whole organisation, and later sends to them, including replies, return 422 recipient_suppressed with type unsub. Requires exactly one recipient across To, Cc and Bcc. A body containing {{unsubscribe_url}} without this flag is rejected.
On shared OpenMail domains this is automatic for any email to a single recipient (no cc or bcc) who is not another OpenMail inbox and has not written to you on the thread. It can't be turned off there; use a custom domain for full control.
bcc
string<email>[]
Optional BCC recipients. Delivered, but omitted from the message To and Cc recipients can read. Use this for CRM logging addresses (for example HubSpot or Salesforce) that only record the email when they are in BCC. Checked against the inbox's outbound recipient policy, same as to and cc.
sendAt
string<date-time>
Optional ISO-8601 time to send this email, at least 30 seconds ahead and within 30 days. Omit to send immediately. Rate limits, recipient policy and content checks run when it sends, not when it is scheduled. The response is 202 with status scheduled. Cancel or move it with the scheduled-sends routes. The same Idempotency-Key returns the scheduled email until it goes out, then the sent message.
headers
object
Optional custom headers, as header name to string value, for example {"List-Unsubscribe": "<https://example.com/u/123>"} or {"X-Campaign": "spring"}. Up to 20 headers and 8 KB in total; each name plus value must fit in 996 characters. Values can't contain line breaks. Headers that would change the sender, recipients, threading or authentication are rejected: From, Sender, To, Cc, Bcc, Subject, Date, Message-ID, In-Reply-To, References, Reply-To, Return-Path, MIME-Version, DKIM-Signature, Received, Authentication-Results, ARC-*, Feedback-ID, Delivered-To, X-Original-To, and anything starting with Content-, X-SES-, X-Mailgun- or X-OpenMail-. Use the matching field instead. Can't set List-Unsubscribe when unsubscribe is true, or at all on a shared OpenMail domain.
Show child attributes
Response
Email sent (or idempotent replay of a send that already went out)
Email sent (or idempotent replay of a send that already went out)
messageId
string
threadId
string
providerMessageId
string
status
enum<string>
Available options:
pending,
sent,
delivered,
failed
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OpenMail","colors":{"primary":"#09090b","light":"#e5e5e5","dark":"#71717a"},"logo":{"light":"https://mintcdn.com/openmail/ufkoyOJWbWUiOXmp/images/Group16.svg?fit=max\u0026auto=format\u0026n=ufkoyOJWbWUiOXmp\u0026q=85\u0026s=fffa113527070cabda07067c63d7c863","dark":"https://mintcdn.com/openmail/ufkoyOJWbWUiOXmp/images/Group15.svg?fit=max\u0026auto=format\u0026n=ufkoyOJWbWUiOXmp\u0026q=85\u0026s=5fb51b7b61f3007dccd1a8864d06aafe","href":"https://openmail.sh"},"favicon":"https://mintcdn.com/openmail/48NbrrrlgJs869lU/favicon.ico?fit=max\u0026auto=format\u0026n=48NbrrrlgJs869lU\u0026q=85\u0026s=f6a578abae47afdc9d4b5ebb3e354cbc","api":{"playground":{"display":"auth"},"examples":{"defaults":"all"},"url":"full"},"appearance":{"default":"dark","strict":false},"navbar":{"links":[{"href":"https://openmail.sh/pricing","label":"Pricing"},{"href":"https://status.openmail.sh","label":"Status"},{"href":"mailto:support@openmail.to","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://console.openmail.sh/login"}},"footer":{"socials":{"website":"https://openmail.sh","x":"https://x.com/openmailsh","linkedin":"https://www.linkedin.com/company/openmail","github":"https://github.com/openmailsh","discord":"https://discord.com/invite/eFfQFMZbsK"}},"seo":{"metatags":{"og:site_name":"OpenMail Docs","og:type":"website","og:image":"https://openmail.sh/og-image.png","og:image:width":"1200","og:image:height":"630","twitter:card":"summary_large_image","twitter:image":"https://openmail.sh/og-image.png"},"indexing":"navigable"},"fonts":{"family":"Geist"},"icons":{"library":"lucide"},"styling":{"codeblocks":{"theme":{"light":"github-light","dark":"dark-plus"}},"latex":false},"integrations":{"telemetry":{"enabled":true}},"contextual":{"options":["copy","view","chatgpt","claude","assistant"],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/openmail/7RznrcXEpa5r5CMG/images/Screenshot2026-08-19at18.56.05.png?fit=max\u0026auto=format\u0026n=7RznrcXEpa5r5CMG\u0026q=85\u0026s=823d3676e5237facb1de2aaf8bc8f629","fonts":{"family":"Geist"}},"interaction":{"drilldown":true},"markdown":{"schema":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"openmail","hasAudioNarration":false,"actualSubdomain":"openmail","customDomains":["docs.openmail.sh"],"gitSource":{"type":"github","owner":"openmailsh","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{},"buildId":"6b09aec78d78a2dfa2db2d98","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"API reference","count":77},{"language":"default","tag":"Documentation","count":33},{"language":"default","tag":"Webhooks","count":16},{"language":"default","tag":"Messages","count":11},{"language":"default","tag":"Inboxes","count":10},{"language":"default","tag":"Core concepts","count":9},{"language":"default","tag":"Pods","count":8},{"language":"default","tag":"Folders","count":7},{"language":"default","tag":"Integrations","count":6},{"language":"default","tag":"Custom domains","count":6}],"searchSettings":{"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"*,*::before,*::after{border-radius:0!important}:root{--shiki-light-bg: #f5f5f5;--shiki-dark-bg: #0a0a0a}.code-group,.code-block,.codeblock-light,.code-block [data-component-part=\"code-block-root\"],[data-component-part=\"code-block-root\"]{background-color:var(--shiki-light-bg)!important}.dark .code-group,.dark .code-block,.dark .code-block [data-component-part=\"code-block-root\"],.dark [data-component-part=\"code-block-root\"]{background-color:var(--shiki-dark-bg)!important}.code-block code[language=\"text\"],.code-block code[data-language=\"text\"],pre code[language=\"text\"],pre code[data-language=\"text\"]{color:rgb(3, 47, 98)!important}.dark .code-block code[language=\"text\"],.dark .code-block code[data-language=\"text\"],.dark pre code[language=\"text\"],.dark pre code[data-language=\"text\"]{color:#CE9178!important}#topbar-cta-button .bg-primary-dark{background-color:#050505!important}#topbar-cta-button a,#topbar-cta-button a span:not(.bg-primary-dark){color:#ffffff!important}#topbar-cta-button a:hover .bg-primary-dark{background-color:#1a1a1a!important}.dark #topbar-cta-button .bg-primary-dark,html.dark #topbar-cta-button .bg-primary-dark,[data-theme=\"dark\"] #topbar-cta-button .bg-primary-dark,html[data-theme=\"dark\"] #topbar-cta-button .bg-primary-dark{background-color:#e5e5e5!important}.dark #topbar-cta-button a,.dark #topbar-cta-button a *,html.dark #topbar-cta-button a,html.dark #topbar-cta-button a *,[data-theme=\"dark\"] #topbar-cta-button a,[data-theme=\"dark\"] #topbar-cta-button a *,html[data-theme=\"dark\"] #topbar-cta-button a,html[data-theme=\"dark\"] #topbar-cta-button a *{color:#050505!important}.dark #topbar-cta-button a:hover .bg-primary-dark,[data-theme=\"dark\"] #topbar-cta-button a:hover .bg-primary-dark,html[data-theme=\"dark\"] #topbar-cta-button a:hover .bg-primary-dark{background-color:#ffffff!important}[class*=\"api-playground\"] button[type=\"submit\"],[class*=\"api-playground\"] [class*=\"submit\"],[data-testid*=\"try-it\"]{background-color:#050505!important;border-color:#050505!important;color:#ffffff!important}.dark [class*=\"api-playground\"] button[type=\"submit\"],.dark [class*=\"api-playground\"] [class*=\"submit\"],.dark [data-testid*=\"try-it\"]{background-color:#e5e5e5!important;border-color:#e5e5e5!important;color:#050505!important}[role=\"tooltip\"],[class*=\"tooltip\"]{background-color:#f5f5f5!important;border:1px solid #d4d4d4!important;color:#050505!important}.dark [role=\"tooltip\"],.dark [class*=\"tooltip\"]{background-color:#0a0a0a!important;border:1px solid #262626!important;color:#e5e5e5!important}.openmail-prompt-card,.openmail-prompt-card>div{background-color:var(--shiki-light-bg)!important}.dark .openmail-prompt-card,.dark .openmail-prompt-card>div{background-color:var(--shiki-dark-bg)!important}.card-group a.card,.card-group .card,[class*=\"card-group\"] a.card,[class*=\"card-group\"] .card,#content-container a.card,#content-container .card{background-color:var(--shiki-light-bg)!important}.dark .card-group a.card,.dark .card-group .card,.dark [class*=\"card-group\"] a.card,.dark [class*=\"card-group\"] .card,.dark #content-container a.card,.dark #content-container .card{background-color:var(--shiki-dark-bg)!important}.dark [data-component-part=\"card-image\"]{filter:invert(1) hue-rotate(180deg)}#footer a[href*=\"x.com\"],#footer a[href*=\"twitter.com\"],#footer a[href*=\"github.com\"]{display:none!important}.tab-container:has(>.tabs-boxed){border:1px solid #e4e4e7;padding:0 1.25rem 1.25rem}.tab-container:has(>.tabs-boxed)>div>:last-child{margin-bottom:0}.dark .tab-container:has(>.tabs-boxed){border-color:#27272a}.tab-container>.tabs-boxed{margin:0 -1.25rem 1.25rem;padding:0 1.25rem 1px;background-color:#f5f5f5}.dark .tab-container>.tabs-boxed{background-color:#0a0a0a}.card-do [data-component-part=\"card-icon\"] svg{background-color:#107d32!important}.card-dont [data-component-part=\"card-icon\"] svg{background-color:#ea0000!important}.dark .card-do [data-component-part=\"card-icon\"] svg{background-color:#00ca50!important}.dark .card-dont [data-component-part=\"card-icon\"] svg{background-color:#ff4d46!important}"}]}
{"page":{"pagePath":"api-reference/messages/send-email","slug":"/api-reference/messages/send-email","pageMetadata":{"title":"Send email","description":"Send an email from an inbox. Pass sendAt to hold it until that time (at least 30 seconds ahead, within 30 days); the response is then 202 and the email is sent by the scheduler. Optionally pass an Idempotency-Key header to make retries safe: a repeat with the same key within 24 hours returns the original message instead of sending again. Without it the API generates a key and sends once. Use threadId to reply to an existing thread. Thread replies automatically copy senders who listed your inbox in Cc. When the latest inbound message was delivered by blind copy, the reply goes only to the recipients you specify.\n\nEvery recipient this call can reach — `to`, `cc` (including any address auto-CC'd on a thread reply), `bcc`, and `replyTo` — is checked against the inbox's outbound correspondent policy before anything is sent. A single denied recipient rejects the whole send with 403 `recipient_not_permitted`; there is no partial delivery.\n\n`bcc` recipients are delivered and stored on the outbound message, but they are not listed on the copy To and Cc recipients receive. An address already in `to` or `cc` is not also blind-copied.","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/inboxes/{id}/send","href":"/api-reference/messages/send-email","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Send an email from an inbox. Pass sendAt to hold it until that time (at least 30 seconds ahead, within 30 days); the response is then 202 and the email is sent by the scheduler. Optionally pass an Idempotency-Key header to make retries safe: a repeat with the same key within 24 hours returns the original message instead of sending again. Without it the API generates a key and sends once. Use threadId to reply to an existing thread. Thread replies automatically copy senders who listed your inbox in Cc. When the latest inbound message was delivered by blind copy, the reply goes only to the recipients you specify.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Every recipient this call can reach — \", _jsx(_components.code, {\n children: \"to\"\n }), \", \", _jsx(_components.code, {\n children: \"cc\"\n }), \" (including any address auto-CC’d on a thread reply), \", _jsx(_components.code, {\n children: \"bcc\"\n }), \", and \", _jsx(_components.code, {\n children: \"replyTo\"\n }), \" — is checked against the inbox’s outbound correspondent policy before anything is sent. A single denied recipient rejects the whole send with 403 \", _jsx(_components.code, {\n children: \"recipient_not_permitted\"\n }), \"; there is no partial delivery.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"bcc\"\n }), \" recipients are delivered and stored on the outbound message, but they are not listed on the copy To and Cc recipients receive. An address already in \", _jsx(_components.code, {\n children: \"to\"\n }), \" or \", _jsx(_components.code, {\n children: \"cc\"\n }), \" is not also blind-copied.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"dark-plus"}},"config":{},"pageMetadata":{"title":"Send email","description":"Send an email from an inbox. Pass sendAt to hold it until that time (at least 30 seconds ahead, within 30 days); the response is then 202 and the email is sent by the scheduler. Optionally pass an Idempotency-Key header to make retries safe: a repeat with the same key within 24 hours returns the original message instead of sending again. Without it the API generates a key and sends once. Use threadId to reply to an existing thread. Thread replies automatically copy senders who listed your inbox in Cc. When the latest inbound message was delivered by blind copy, the reply goes only to the recipients you specify.\n\nEvery recipient this call can reach — `to`, `cc` (including any address auto-CC'd on a thread reply), `bcc`, and `replyTo` — is checked against the inbox's outbound correspondent policy before anything is sent. A single denied recipient rejects the whole send with 403 `recipient_not_permitted`; there is no partial delivery.\n\n`bcc` recipients are delivered and stored on the outbound message, but they are not listed on the copy To and Cc recipients receive. An address already in `to` or `cc` is not also blind-copied.","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/inboxes/{id}/send","href":"/api-reference/messages/send-email","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"sendEmail","summary":"Send email","tags":["messages"],"description":"Send an email from an inbox. Pass sendAt to hold it until that time (at least 30 seconds ahead, within 30 days); the response is then 202 and the email is sent by the scheduler. Optionally pass an Idempotency-Key header to make retries safe: a repeat with the same key within 24 hours returns the original message instead of sending again. Without it the API generates a key and sends once. Use threadId to reply to an existing thread. Thread replies automatically copy senders who listed your inbox in Cc. When the latest inbound message was delivered by blind copy, the reply goes only to the recipients you specify.\n\nEvery recipient this call can reach — `to`, `cc` (including any address auto-CC'd on a thread reply), `bcc`, and `replyTo` — is checked against the inbox's outbound correspondent policy before anything is sent. A single denied recipient rejects the whole send with 403 `recipient_not_permitted`; there is no partial delivery.\n\n`bcc` recipients are delivered and stored on the outbound message, but they are not listed on the copy To and Cc recipients receive. An address already in `to` or `cc` is not also blind-copied.","requestBody":"ab6bab82-ee35-49fb-acab-0107c61e9c3e","parameters":["a2848071-a976-4089-ad74-75ed31910233","fc1bed09-862d-4e87-adde-d8f67dc60c59"],"responses":{"200":"31bee516-d275-4eae-8f6a-1ff90b1b1d53","202":"f13d7f8f-5501-4191-8e0b-b06bab95a6f2","400":"b1b3585f-2fa8-43b5-aa19-d18cf32bfa5a","402":"cc00ecfa-f07b-4719-ab75-96f857c5681a","403":"8c7404bb-0d3d-44ea-8688-286337efcc05","404":"23303f28-f7d7-4614-b7cc-3789cb4c3fa1","409":"31f6ae47-159d-4f8e-89ac-d9c03504b4a4","413":"6055354c-7394-4096-927a-251c60a60d28","422":"a5fba5c5-a41d-4fb0-93e6-708230a1a2ab","429":"c9704772-e344-4a95-8707-d152fbef63de","503":"7173c2a0-c9a9-492d-83a5-89c1543d4ab1"},"method":"post","type":"path","servers":["3e5a955e-305d-4e49-8e7d-1fb131783acd"],"security":["849a67e7-8df3-4742-a515-519c184a843b"],"path":"/v1/inboxes/{id}/send","baseUrlOptions":["https://api.openmail.sh"],"title":"Send email","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","urlDisplay":"full"},"dependencies":{"parameters":{"a2848071-a976-4089-ad74-75ed31910233":{"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"},"in":"path","name":"id","required":true},"fc1bed09-862d-4e87-adde-d8f67dc60c59":{"schema":{"type":"string","isRequired":false,"description":"Optional. Unique key (e.g. UUID) that makes retries safe: a repeat with the same key within 24 hours returns the original message instead of sending again. Generated server-side when omitted.","uniqueKey":"","typeLabel":"string"},"in":"header","name":"idempotency-key","required":false,"description":"Optional. Unique key (e.g. UUID) that makes retries safe: a repeat with the same key within 24 hours returns the original message instead of sending again. Generated server-side when omitted."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["to","body"],"properties":{"to":{"oneOf":[{"type":"string","description":"One email address, a comma-separated list, or an ordered array of addresses. Every To recipient is visible to the others.","isRequired":true,"uniqueKey":"to.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","format":"email","uniqueKey":"to.oneOf.1.items.[INDEX]","typeLabel":"string\u003cemail>"},"description":"One email address, a comma-separated list, or an ordered array of addresses. Every To recipient is visible to the others.","isRequired":true,"uniqueKey":"to.oneOf.1","typeLabel":"string\u003cemail>[]"}],"isRequired":true,"uniqueKey":"to","typeLabel":"string | string\u003cemail>[]"},"body":{"type":"string","minLength":1,"maxLength":100000,"description":"Email body. Plain text or HTML — HTML is auto-detected and rendered, with a plain-text fallback generated automatically.","isRequired":true,"uniqueKey":"body","typeLabel":"string"},"subject":{"type":"string","minLength":1,"maxLength":998,"description":"Required for new threads. Optional when threadId is set — the thread subject is used automatically (with Re: prefix).","uniqueKey":"subject","typeLabel":"string"},"bodyHtml":{"type":"string","maxLength":500000,"description":"Provide only when the plain-text and HTML versions must differ. Omit for normal sends — put HTML in `body` instead.","uniqueKey":"bodyHtml","typeLabel":"string"},"threadId":{"type":"string","description":"Thread ID for replies","uniqueKey":"threadId","typeLabel":"string"},"includeQuote":{"type":"boolean","description":"When replying with threadId, append a quoted copy of the previous message to the body. Defaults to true. Set false to send only your reply text.","uniqueKey":"includeQuote","typeLabel":"boolean"},"replyTo":{"type":"string","format":"email","description":"Optional. Address that replies should be routed to (set as the `Reply-To` MIME header). Free plan: must be the address of an inbox you own in OpenMail. Pro plan or higher: any valid email address.","uniqueKey":"replyTo","typeLabel":"string\u003cemail>"},"cc":{"type":"array","items":{"type":"string","format":"email","uniqueKey":"cc.items.[INDEX]","typeLabel":"string\u003cemail>"},"description":"Optional CC recipients. Visible to every recipient.","uniqueKey":"cc","typeLabel":"string\u003cemail>[]"},"unsubscribe":{"type":"boolean","description":"Optional. Adds one-click `List-Unsubscribe` headers (RFC 8058), so Gmail, Yahoo and Apple Mail show a native unsubscribe button. Any `{{unsubscribe_url}}` in `body` or `bodyHtml` is replaced with the same link. A recipient who unsubscribes is suppressed for your whole organisation, and later sends to them, including replies, return 422 `recipient_suppressed` with type `unsub`. Requires exactly one recipient across To, Cc and Bcc. A body containing `{{unsubscribe_url}}` without this flag is rejected.\n\nOn shared OpenMail domains this is automatic for any email to a single recipient (no `cc` or `bcc`) who is not another OpenMail inbox and has not written to you on the thread. It can't be turned off there; use a custom domain for full control.","uniqueKey":"unsubscribe","typeLabel":"boolean"},"bcc":{"type":"array","items":{"type":"string","format":"email","uniqueKey":"bcc.items.[INDEX]","typeLabel":"string\u003cemail>"},"description":"Optional BCC recipients. Delivered, but omitted from the message To and Cc recipients can read. Use this for CRM logging addresses (for example HubSpot or Salesforce) that only record the email when they are in BCC. Checked against the inbox's outbound recipient policy, same as `to` and `cc`.","uniqueKey":"bcc","typeLabel":"string\u003cemail>[]"},"sendAt":{"type":"string","format":"date-time","description":"Optional ISO-8601 time to send this email, at least 30 seconds ahead and within 30 days. Omit to send immediately. Rate limits, recipient policy and content checks run when it sends, not when it is scheduled. The response is 202 with status scheduled. Cancel or move it with the scheduled-sends routes. The same Idempotency-Key returns the scheduled email until it goes out, then the sent message.","uniqueKey":"sendAt","typeLabel":"string\u003cdate-time>"},"headers":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"headers.additionalProperties","typeLabel":"string"},"maxProperties":20,"description":"Optional custom headers, as header name to string value, for example `{\"List-Unsubscribe\": \"\u003chttps://example.com/u/123>\"}` or `{\"X-Campaign\": \"spring\"}`. Up to 20 headers and 8 KB in total; each name plus value must fit in 996 characters. Values can't contain line breaks. Headers that would change the sender, recipients, threading or authentication are rejected: From, Sender, To, Cc, Bcc, Subject, Date, Message-ID, In-Reply-To, References, Reply-To, Return-Path, MIME-Version, DKIM-Signature, Received, Authentication-Results, ARC-*, Feedback-ID, Delivered-To, X-Original-To, and anything starting with Content-, X-SES-, X-Mailgun- or X-OpenMail-. Use the matching field instead. Can't set List-Unsubscribe when `unsubscribe` is true, or at all on a shared OpenMail domain.","uniqueKey":"headers","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"to":"\u003cstring>","body":"\u003cstring>","subject":"\u003cstring>","bodyHtml":"\u003cstring>","threadId":"\u003cstring>","includeQuote":true,"replyTo":"jsmith@example.com","cc":["jsmith@example.com"],"unsubscribe":true,"bcc":["jsmith@example.com"],"sendAt":"2023-11-07T05:31:56Z","headers":{}}}},"exampleType":"generated"},"multipart/form-data":{"schema":{"type":"object","required":["to","body"],"properties":{"to":{"oneOf":[{"type":"string","description":"Repeat either 'to' or 'to[]' per recipient using one field name per multipart request, or supply a comma-separated list or JSON-encoded address array.","isRequired":true,"uniqueKey":"to.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","format":"email","uniqueKey":"to.oneOf.1.items.[INDEX]","typeLabel":"string\u003cemail>"},"description":"Repeat either 'to' or 'to[]' per recipient using one field name per multipart request, or supply a comma-separated list or JSON-encoded address array.","isRequired":true,"uniqueKey":"to.oneOf.1","typeLabel":"string\u003cemail>[]"}],"isRequired":true,"uniqueKey":"to","typeLabel":"string | string\u003cemail>[]"},"body":{"type":"string","minLength":1,"maxLength":100000,"description":"Email body. Plain text or HTML — HTML is auto-detected and rendered, with a plain-text fallback generated automatically.","isRequired":true,"uniqueKey":"body","typeLabel":"string"},"subject":{"type":"string","minLength":1,"maxLength":998,"description":"Required for new threads. Optional when threadId is set — the thread subject is used automatically (with Re: prefix).","uniqueKey":"subject","typeLabel":"string"},"bodyHtml":{"type":"string","maxLength":500000,"description":"Provide only when the plain-text and HTML versions must differ. Omit for normal sends — put HTML in `body` instead.","uniqueKey":"bodyHtml","typeLabel":"string"},"threadId":{"type":"string","description":"Thread ID for replies","uniqueKey":"threadId","typeLabel":"string"},"includeQuote":{"type":"boolean","description":"When replying with threadId, append a quoted copy of the previous message to the body. Defaults to true. Set false to send only your reply text.","uniqueKey":"includeQuote","typeLabel":"boolean"},"replyTo":{"type":"string","format":"email","description":"Optional. Address that replies should be routed to (set as the `Reply-To` MIME header). Free plan: must be the address of an inbox you own in OpenMail. Pro plan or higher: any valid email address.","uniqueKey":"replyTo","typeLabel":"string\u003cemail>"},"cc":{"type":"array","items":{"type":"string","format":"email","uniqueKey":"cc.items.[INDEX]","typeLabel":"string\u003cemail>"},"description":"Optional CC recipients. Repeat the `cc` field once per address; a single field may also hold a comma-separated list or a JSON-encoded array of addresses.","uniqueKey":"cc","typeLabel":"string\u003cemail>[]"},"unsubscribe":{"type":"boolean","description":"Optional. Adds one-click `List-Unsubscribe` headers (RFC 8058), so Gmail, Yahoo and Apple Mail show a native unsubscribe button. Any `{{unsubscribe_url}}` in `body` or `bodyHtml` is replaced with the same link. A recipient who unsubscribes is suppressed for your whole organisation, and later sends to them, including replies, return 422 `recipient_suppressed` with type `unsub`. Requires exactly one recipient across To, Cc and Bcc. A body containing `{{unsubscribe_url}}` without this flag is rejected.\n\nOn shared OpenMail domains this is automatic for any email to a single recipient (no `cc` or `bcc`) who is not another OpenMail inbox and has not written to you on the thread. It can't be turned off there; use a custom domain for full control.","uniqueKey":"unsubscribe","typeLabel":"boolean"},"bcc":{"type":"array","items":{"type":"string","format":"email","uniqueKey":"bcc.items.[INDEX]","typeLabel":"string\u003cemail>"},"description":"Optional BCC recipients. Repeat the `bcc` field once per address; a single field may also hold a comma-separated list or a JSON-encoded array of addresses. Not visible to To or Cc recipients.","uniqueKey":"bcc","typeLabel":"string\u003cemail>[]"},"sendAt":{"type":"string","format":"date-time","description":"Optional ISO-8601 time to send this email, at least 30 seconds ahead and within 30 days. Omit to send immediately. Rate limits, recipient policy and content checks run when it sends, not when it is scheduled. The response is 202 with status scheduled. Cancel or move it with the scheduled-sends routes. The same Idempotency-Key returns the scheduled email until it goes out, then the sent message.","uniqueKey":"sendAt","typeLabel":"string\u003cdate-time>"},"headers":{"type":"string","description":"Optional custom headers as a JSON-encoded object, for example `{\"X-Campaign\":\"spring\"}`. Same rules as the JSON `headers` field.","uniqueKey":"headers","typeLabel":"string"},"attachments":{"type":"array","items":{"type":"string","format":"binary","uniqueKey":"attachments.items.[INDEX]","typeLabel":"file"},"description":"File attachments (max 25 MB total per email)","uniqueKey":"attachments","typeLabel":"file[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"to":"\u003cstring>","body":"\u003cstring>","subject":"\u003cstring>","bodyHtml":"\u003cstring>","threadId":"\u003cstring>","includeQuote":true,"replyTo":"jsmith@example.com","cc":["jsmith@example.com"],"unsubscribe":true,"bcc":["jsmith@example.com"],"sendAt":"2023-11-07T05:31:56Z","headers":"\u003cstring>","attachments":["\u003cstring>"]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"31bee516-d275-4eae-8f6a-1ff90b1b1d53":{"description":"Email sent (or idempotent replay of a send that already went out)","content":{"application/json":{"schema":{"description":"Email sent (or idempotent replay of a send that already went out)","type":"object","additionalProperties":true,"properties":{"messageId":{"type":"string","uniqueKey":"messageId","typeLabel":"string"},"threadId":{"type":"string","uniqueKey":"threadId","typeLabel":"string"},"providerMessageId":{"type":"string","uniqueKey":"providerMessageId","typeLabel":"string"},"status":{"type":"string","enum":["pending","sent","delivered","failed"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"messageId":"\u003cstring>","threadId":"\u003cstring>","providerMessageId":"\u003cstring>","status":"pending"}}},"exampleType":"generated"}},"exampleType":"generated"},"f13d7f8f-5501-4191-8e0b-b06bab95a6f2":{"description":"Email scheduled for sendAt. Same Idempotency-Key returns this until the email goes out.","content":{"application/json":{"schema":{"description":"Email scheduled for sendAt. Same Idempotency-Key returns this until the email goes out.","type":"object","additionalProperties":true,"properties":{"id":{"type":"string","uniqueKey":"id","typeLabel":"string"},"status":{"type":"string","enum":["scheduled"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"sendAt":{"type":"string","format":"date-time","uniqueKey":"sendAt","typeLabel":"string\u003cdate-time>"},"inboxId":{"type":"string","uniqueKey":"inboxId","typeLabel":"string"},"to":{"type":"string","uniqueKey":"to","typeLabel":"string"},"toRecipients":{"type":"array","items":{"type":"string","format":"email","uniqueKey":"toRecipients.items.[INDEX]","typeLabel":"string\u003cemail>"},"uniqueKey":"toRecipients","typeLabel":"string\u003cemail>[]"},"subject":{"type":"string","uniqueKey":"subject","typeLabel":"string"},"threadId":{"oneOf":[{"type":"string","uniqueKey":"threadId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"threadId.oneOf.1","typeLabel":"null"}],"uniqueKey":"threadId","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","status":"scheduled","sendAt":"2023-11-07T05:31:56Z","inboxId":"\u003cstring>","to":"\u003cstring>","toRecipients":["jsmith@example.com"],"subject":"\u003cstring>","threadId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"b1b3585f-2fa8-43b5-aa19-d18cf32bfa5a":{"description":"Missing request body, invalid 'to'/'replyTo'/'cc'/'bcc' address, too many recipients for this inbox (`too_many_recipients`), missing subject when required, `sendAt` that is not an ISO-8601 time at least 30 seconds ahead and within 30 days, `unsubscribe` with multiple recipients, or `{{unsubscribe_url}}` without `unsubscribe`, or invalid `headers` (`invalid_headers`)","content":{"application/json":{"schema":{"type":"object","description":"Missing request body, invalid 'to'/'replyTo'/'cc'/'bcc' address, too many recipients for this inbox (`too_many_recipients`), missing subject when required, `sendAt` that is not an ISO-8601 time at least 30 seconds ahead and within 30 days, `unsubscribe` with multiple recipients, or `{{unsubscribe_url}}` without `unsubscribe`, or invalid `headers` (`invalid_headers`)","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"cc00ecfa-f07b-4719-ab75-96f857c5681a":{"description":"Sending is paused because this account's monthly spend limit was reached (`spend_cap_paused`)","content":{"application/json":{"schema":{"type":"object","description":"Sending is paused because this account's monthly spend limit was reached (`spend_cap_paused`)","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"8c7404bb-0d3d-44ea-8688-286337efcc05":{"description":"A recipient is not permitted by the inbox's outbound correspondent policy (`recipient_not_permitted`, with the refused address in `recipient`). Also returned when a free-plan customer sets `replyTo` to an address that is not one of their own OpenMail inboxes (`feature_requires_paid_plan`), the account is banned (`account_banned`), or sending is suspended due to deliverability/abuse signals (`reputation_suspended`).","content":{"application/json":{"schema":{"type":"object","description":"A recipient is not permitted by the inbox's outbound correspondent policy (`recipient_not_permitted`, with the refused address in `recipient`). Also returned when a free-plan customer sets `replyTo` to an address that is not one of their own OpenMail inboxes (`feature_requires_paid_plan`), the account is banned (`account_banned`), or sending is suspended due to deliverability/abuse signals (`reputation_suspended`).","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"23303f28-f7d7-4614-b7cc-3789cb4c3fa1":{"description":"Inbox or thread not found","content":{"application/json":{"schema":{"type":"object","description":"Inbox or thread not found","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"31f6ae47-159d-4f8e-89ac-d9c03504b4a4":{"description":"The inbox's display name is invalid (`invalid_display_name`); update it before sending. Also returned when the custom domain isn't ready to send yet (`domain_sending_pending`), which usually clears within minutes of verification; check the Retry-After response header. A repeat of a scheduled send that was cancelled or failed returns `scheduled_send_closed`.","content":{"application/json":{"schema":{"type":"object","description":"The inbox's display name is invalid (`invalid_display_name`); update it before sending. Also returned when the custom domain isn't ready to send yet (`domain_sending_pending`), which usually clears within minutes of verification; check the Retry-After response header. A repeat of a scheduled send that was cancelled or failed returns `scheduled_send_closed`.","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"6055354c-7394-4096-927a-251c60a60d28":{"description":"Scheduled send attachments exceed 25 MB (`payload_too_large`)","content":{"application/json":{"schema":{"type":"object","description":"Scheduled send attachments exceed 25 MB (`payload_too_large`)","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"a5fba5c5-a41d-4fb0-93e6-708230a1a2ab":{"description":"Content blocked (`unsafe_content`, `phishing_detected`), a recipient domain has no MX records (`no_mx_records`, with the failing domain in `domain`), recipient suppressed for bounce, complaint or unsubscribe (`recipient_suppressed`, with `type`), or account storage limit exceeded (`storage_limit_exceeded`)","content":{"application/json":{"schema":{"type":"object","description":"Content blocked (`unsafe_content`, `phishing_detected`), a recipient domain has no MX records (`no_mx_records`, with the failing domain in `domain`), recipient suppressed for bounce, complaint or unsubscribe (`recipient_suppressed`, with `type`), or account storage limit exceeded (`storage_limit_exceeded`)","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"c9704772-e344-4a95-8707-d152fbef63de":{"description":"Rate limit exceeded (global daily, per-inbox daily, per-inbox burst) or cold outreach limit (`cold_outreach_limit`, with `scope`, `limit`, `resetsAt`, and a `nextStep` sentence on what raises the cap — see `GET /v1/limits/cold`). Check the Retry-After response header.","content":{"application/json":{"schema":{"type":"object","description":"Rate limit exceeded (global daily, per-inbox daily, per-inbox burst) or cold outreach limit (`cold_outreach_limit`, with `scope`, `limit`, `resetsAt`, and a `nextStep` sentence on what raises the cap — see `GET /v1/limits/cold`). Check the Retry-After response header.","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"7173c2a0-c9a9-492d-83a5-89c1543d4ab1":{"description":"`unsubscribe` was requested but one-click unsubscribe is unavailable (`unsubscribe_unavailable`). Retry, or send without it.","content":{"application/json":{"schema":{"type":"object","description":"`unsubscribe` was requested but one-click unsubscribe is unavailable (`unsubscribe_unavailable`). Retry, or send without it.","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"849a67e7-8df3-4742-a515-519c184a843b":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API key","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"3e5a955e-305d-4e49-8e7d-1fb131783acd":{"url":"https://api.openmail.sh"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API key","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://api.openmail.sh/openapi.json"},"subdomain":"openmail","siteName":"OpenMail","title":"Send email - OpenMail","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-27T14:38:56.354Z","originalFileLocation":"api-reference/messages/send-email.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Send an email from an inbox. Pass sendAt to hold it until that time (at least 30 seconds ahead, within 30 days); the response is then 202 and the email is sent by the scheduler. Optionally pass an Idempotency-Key header to make retries safe: a repeat with the same key within 24 hours returns the original message instead of sending again. Without it the API generates a key and sends once. Use threadId to reply to an existing thread. Thread replies automatically copy senders who listed your inbox in Cc. When the latest inbound message was delivered by blind copy, the reply goes only to the recipients you specify. Every recipient this call can reach — to, cc (including any address auto-CC\u0026#x27;d on a thread reply), bcc, and replyTo — is checked against the inbox\u0026#x27;s outbound correspondent policy before anything is sent. A single denied recipient rejects the whole send with 403 recipient_not_permitted; there is no partial delivery. bcc recipients are delivered and stored on the outbound message, but they are not listed on the copy To and Cc recipients receive. An address already in to or cc is not also blind-copied.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OpenMail\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/openmail/8MlRbyt-Mi4eLuOo/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/openmail/8MlRbyt-Mi4eLuOo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/openmail/8MlRbyt-Mi4eLuOo/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/openmail/8MlRbyt-Mi4eLuOo/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/openmail/8MlRbyt-Mi4eLuOo/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/openmail/8MlRbyt-Mi4eLuOo/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/openmail/8MlRbyt-Mi4eLuOo/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/openmail/8MlRbyt-Mi4eLuOo/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/openmail/8MlRbyt-Mi4eLuOo/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send email - OpenMail\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send an email from an inbox. Pass sendAt to hold it until that time (at least 30 seconds ahead, within 30 days); the response is then 202 and the email is sent by the scheduler. Optionally pass an Idempotency-Key header to make retries safe: a repeat with the same key within 24 hours returns the original message instead of sending again. Without it the API generates a key and sends once. Use threadId to reply to an existing thread. Thread replies automatically copy senders who listed your inbox in Cc. When the latest inbound message was delivered by blind copy, the reply goes only to the recipients you specify. Every recipient this call can reach — to, cc (including any address auto-CC\u0026#x27;d on a thread reply), bcc, and replyTo — is checked against the inbox\u0026#x27;s outbound correspondent policy before anything is sent. A single denied recipient rejects the whole send with 403 recipient_not_permitted; there is no partial delivery. bcc recipients are delivered and stored on the outbound message, but they are not listed on the copy To and Cc recipients receive. An address already in to or cc is not also blind-copied.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenMail Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.openmail.sh/api-reference/messages/send-email\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://openmail.sh/og-image.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Send email - OpenMail\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send an email from an inbox. Pass sendAt to hold it until that time (at least 30 seconds ahead, within 30 days); the response is then 202 and the email is sent by the scheduler. Optionally pass an Idempotency-Key header to make retries safe: a repeat with the same key within 24 hours returns the original message instead of sending again. Without it the API generates a key and sends once. Use threadId to reply to an existing thread. Thread replies automatically copy senders who listed your inbox in Cc. When the latest inbound message was delivered by blind copy, the reply goes only to the recipients you specify. Every recipient this call can reach — to, cc (including any address auto-CC\u0026#x27;d on a thread reply), bcc, and replyTo — is checked against the inbox\u0026#x27;s outbound correspondent policy before anything is sent. A single denied recipient rejects the whole send with 403 recipient_not_permitted; there is no partial delivery. bcc recipients are delivered and stored on the outbound message, but they are not listed on the copy To and Cc recipients receive. An address already in to or cc is not also blind-copied.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openmail.sh/og-image.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/openmail/8MlRbyt-Mi4eLuOo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenMail\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#09090b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.openmail.sh/api-reference/messages/send-email\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/messages/send-email.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.openmail.sh/#organization\",\"name\":\"OpenMail\",\"url\":\"https://docs.openmail.sh\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/openmail/ufkoyOJWbWUiOXmp/images/Group16.svg?fit=max\u0026auto=format\u0026n=ufkoyOJWbWUiOXmp\u0026q=85\u0026s=fffa113527070cabda07067c63d7c863\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.openmail.sh#website\",\"name\":\"OpenMail\",\"url\":\"https://docs.openmail.sh\",\"publisher\":{\"@id\":\"https://docs.openmail.sh/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.openmail.sh/api-reference/messages/send-email#webpage\",\"url\":\"https://docs.openmail.sh/api-reference/messages/send-email\",\"name\":\"Send email\",\"description\":\"Send an email from an inbox. Pass sendAt to hold it until that time (at least 30 seconds ahead, within 30 days); the response is then 202 and the email is sent by the scheduler. Optionally pass an Idempotency-Key header to make retries safe: a repeat with the same key within 24 hours returns the original message instead of sending again. Without it the API generates a key and sends once. Use threadId to reply to an existing thread. Thread replies automatically copy senders who listed your inbox in Cc. When the latest inbound message was delivered by blind copy, the reply goes only to the recipients you specify. Every recipient this call can reach — to, cc (including any address auto-CC'd on a thread reply), bcc, and replyTo — is checked against the inbox's outbound correspondent policy before anything is sent. A single denied recipient rejects the whole send with 403 recipient_not_permitted; there is no partial delivery. bcc recipients are delivered and stored on the outbound message, but they are not listed on the copy To and Cc recipients receive. An address already in to or cc is not also blind-copied.\",\"dateModified\":\"2026-11-27T14:38:56.354Z\",\"isPartOf\":{\"@id\":\"https://docs.openmail.sh#website\"},\"breadcrumb\":{\"@id\":\"https://docs.openmail.sh/api-reference/messages/send-email#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.openmail.sh/api-reference/messages/send-email#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"OpenMail\",\"item\":\"https://docs.openmail.sh\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send email\",\"item\":\"https://docs.openmail.sh/api-reference/messages/send-email\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.openmail.sh/api-reference/messages/send-email#apireference\",\"headline\":\"Send email\",\"name\":\"Send email\",\"description\":\"Send an email from an inbox. Pass sendAt to hold it until that time (at least 30 seconds ahead, within 30 days); the response is then 202 and the email is sent by the scheduler. Optionally pass an Idempotency-Key header to make retries safe: a repeat with the same key within 24 hours returns the original message instead of sending again. Without it the API generates a key and sends once. Use threadId to reply to an existing thread. Thread replies automatically copy senders who listed your inbox in Cc. When the latest inbound message was delivered by blind copy, the reply goes only to the recipients you specify. Every recipient this call can reach — to, cc (including any address auto-CC'd on a thread reply), bcc, and replyTo — is checked against the inbox's outbound correspondent policy before anything is sent. A single denied recipient rejects the whole send with 403 recipient_not_permitted; there is no partial delivery. bcc recipients are delivered and stored on the outbound message, but they are not listed on the copy To and Cc recipients receive. An address already in to or cc is not also blind-copied.\",\"url\":\"https://docs.openmail.sh/api-reference/messages/send-email\",\"mainEntityOfPage\":{\"@id\":\"https://docs.openmail.sh/api-reference/messages/send-email#webpage\"},\"image\":\"https://openmail.sh/og-image.png\",\"dateModified\":\"2026-11-27T14:38:56.354Z\",\"publisher\":{\"@id\":\"https://docs.openmail.sh/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.openmail.sh#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenMail\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OpenMail\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/messages/send-email.md","siteName":"OpenMail","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book","pages":[{"title":"Documentation","href":""}]},{"tab":"API reference","icon":"square-terminal","groups":[{"group":"Overview","pages":[{"title":"Introduction","icon":"book","href":"/api-reference/introduction"},{"title":"API Overview","icon":"list","href":"/api-reference/overview"},{"title":"Authentication","icon":"key","href":"/api-reference/authentication"}]},{"group":"Pods","pages":[{"title":"List pods","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/pods","href":"/api-reference/pods/list-pods"},{"title":"Create pod","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/pods","href":"/api-reference/pods/create-pod"},{"title":"Get pod","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/pods/{id}","href":"/api-reference/pods/get-pod"},{"title":"Update pod","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json patch /v1/pods/{id}","href":"/api-reference/pods/update-pod"},{"title":"Delete pod","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json delete /v1/pods/{id}","href":"/api-reference/pods/delete-pod"},{"title":"Create pod API key","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/pods/{id}/api-keys","href":"/api-reference/pods/create-pod-api-key"},{"title":"List pod API keys","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/pods/{id}/api-keys","href":"/api-reference/pods/list-pod-api-keys"},{"title":"Revoke pod API key","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json delete /v1/pods/{id}/api-keys/{keyId}","href":"/api-reference/pods/revoke-pod-api-key"}]},{"group":"Inboxes","pages":[{"title":"List inboxes","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/inboxes","href":"/api-reference/inboxes/list-inboxes"},{"title":"Create inbox","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/inboxes","href":"/api-reference/inboxes/create-inbox"},{"title":"Get inbox","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/inboxes/{id}","href":"/api-reference/inboxes/get-inbox"},{"title":"Update inbox","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json patch /v1/inboxes/{id}","href":"/api-reference/inboxes/update-inbox"},{"title":"Delete inbox","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json delete /v1/inboxes/{id}","href":"/api-reference/inboxes/delete-inbox"},{"title":"Create inbox API key","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/inboxes/{id}/api-keys","href":"/api-reference/inboxes/create-inbox-api-key"},{"title":"List inbox API keys","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/inboxes/{id}/api-keys","href":"/api-reference/inboxes/list-inbox-api-keys"},{"title":"Revoke inbox API key","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json delete /v1/inboxes/{id}/api-keys/{keyId}","href":"/api-reference/inboxes/revoke-inbox-api-key"},{"title":"Rotate webhook secret","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/inboxes/{id}/webhook/rotate-secret","href":"/api-reference/inboxes/rotate-webhook-secret"},{"title":"Send test webhook","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/inboxes/{id}/webhook/test","href":"/api-reference/inboxes/send-test-webhook"}]},{"group":"Custom domains","pages":[{"title":"List custom domains","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/domains","href":"/api-reference/domains/list-custom-domains"},{"title":"Add custom domain","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/domains","href":"/api-reference/domains/add-custom-domain"},{"title":"Get custom domain","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/domains/{id}","href":"/api-reference/domains/get-custom-domain"},{"title":"Change custom domain pod scope","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json patch /v1/domains/{id}","href":"/api-reference/domains/change-custom-domain-pod-scope"},{"title":"Re-check custom domain","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/domains/{id}/verify","href":"/api-reference/domains/re-check-custom-domain"},{"title":"Delete custom domain","description":"Remove a custom domain from your account. The domain must have no inboxes — delete those first. This does not remove the DNS records from your registrar. An account-wide key may delete any domain; a pod-scoped key may delete only a domain scoped to its own pod, never an account-wide domain. Inbox-scoped keys cannot manage domains.","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json delete /v1/domains/{id}","href":"/api-reference/domains/delete-custom-domain"}]},{"group":"Messages","pages":[{"title":"Send email","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/inboxes/{id}/send","href":"/api-reference/messages/send-email"},{"title":"List scheduled sends","description":"Emails accepted with sendAt that have not gone out yet. Default is status=scheduled. Pass a comma-separated status list to include failed, cancelled, sending or sent. Up to 50, soonest first.","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/inboxes/{id}/scheduled-sends","href":"/api-reference/messages/list-scheduled-sends"},{"title":"Reschedule a send","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json patch /v1/inboxes/{id}/scheduled-sends/{sendId}","href":"/api-reference/messages/reschedule-a-send"},{"title":"Cancel a scheduled send","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json delete /v1/inboxes/{id}/scheduled-sends/{sendId}","href":"/api-reference/messages/cancel-a-scheduled-send"},{"title":"List messages","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/inboxes/{id}/messages","href":"/api-reference/messages/list-messages"},{"title":"List threads","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/inboxes/{id}/threads","href":"/api-reference/threads/list-threads"},{"title":"Update thread","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json patch /v1/threads/{id}","href":"/api-reference/threads/update-thread"},{"title":"Delete thread","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json delete /v1/threads/{id}","href":"/api-reference/threads/delete-thread"},{"title":"Get thread messages","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/threads/{id}/messages","href":"/api-reference/threads/get-thread-messages"},{"title":"Download raw message","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/messages/{id}/raw","href":"/api-reference/messages/download-raw-message"},{"title":"Delete message","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json delete /v1/messages/{id}","href":"/api-reference/messages/delete-message"}]},{"group":"Folders","pages":[{"title":"List folders in an inbox","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/inboxes/{id}/folders","href":"/api-reference/folders/list-folders-in-an-inbox"},{"title":"Create a folder","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/inboxes/{id}/folders","href":"/api-reference/folders/create-a-folder"},{"title":"Rename a custom folder","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json patch /v1/inboxes/{id}/folders/{folderId}","href":"/api-reference/folders/rename-a-custom-folder"},{"title":"Delete a custom folder","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json delete /v1/inboxes/{id}/folders/{folderId}","href":"/api-reference/folders/delete-a-custom-folder"},{"title":"Move one message to a folder","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json put /v1/inboxes/{id}/messages/{messageId}/folder","href":"/api-reference/folders/move-one-message-to-a-folder"},{"title":"Restore one message from Trash","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/inboxes/{id}/messages/{messageId}/restore","href":"/api-reference/folders/restore-one-message-from-trash"},{"title":"List items in a folder","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/inboxes/{id}/folders/{folderId}/messages","href":"/api-reference/folders/list-items-in-a-folder"}]},{"group":"Drafts","pages":[{"title":"List email drafts","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/drafts","href":"/api-reference/drafts/list-email-drafts"},{"title":"Create email draft","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/drafts","href":"/api-reference/drafts/create-email-draft"},{"title":"Get email draft","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/drafts/{draftId}","href":"/api-reference/drafts/get-email-draft"},{"title":"Edit email draft","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json patch /v1/drafts/{draftId}","href":"/api-reference/drafts/edit-email-draft"},{"title":"Delete email draft","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json delete /v1/drafts/{draftId}","href":"/api-reference/drafts/delete-email-draft"},{"title":"Send email draft","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/drafts/{draftId}/send","href":"/api-reference/drafts/send-email-draft"}]},{"group":"Sender rules","pages":[{"title":"Get correspondent policy","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/policy","href":"/api-reference/policy/get-correspondent-policy"},{"title":"Replace correspondent policy","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json put /v1/policy","href":"/api-reference/policy/replace-correspondent-policy"},{"title":"Set correspondent policy mode","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json put /v1/policy/mode","href":"/api-reference/policy/set-correspondent-policy-mode"},{"title":"Add correspondent policy rule","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/policy/rules","href":"/api-reference/policy/add-correspondent-policy-rule"},{"title":"Delete correspondent policy rule","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json delete /v1/policy/rules/{id}","href":"/api-reference/policy/delete-correspondent-policy-rule"},{"title":"List correspondent policy audit events","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/policy/audit","href":"/api-reference/policy/list-correspondent-policy-audit-events"}]},{"group":"Attachments","pages":[{"title":"Download attachment","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/attachments/{messageId}/{filename}","href":"/api-reference/attachments/download-attachment"},{"title":"Extract attachment text","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/attachments/{messageId}/{filename}/text","href":"/api-reference/attachments/extract-attachment-text"}]},{"group":"Webhooks","pages":[{"title":"List event types","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/webhooks/event-types","href":"/api-reference/webhooks/list-event-types"},{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/webhooks/endpoints","href":"/api-reference/webhooks/list-webhook-endpoints"},{"title":"Create webhook endpoint","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/webhooks/endpoints","href":"/api-reference/webhooks/create-webhook-endpoint"},{"title":"Get webhook endpoint","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/webhooks/endpoints/{id}","href":"/api-reference/webhooks/get-webhook-endpoint"},{"title":"Update webhook endpoint","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json patch /v1/webhooks/endpoints/{id}","href":"/api-reference/webhooks/update-webhook-endpoint"},{"title":"Delete webhook endpoint","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json delete /v1/webhooks/endpoints/{id}","href":"/api-reference/webhooks/delete-webhook-endpoint"},{"title":"Rotate webhook secret","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/webhooks/endpoints/{id}/rotate-secret","href":"/api-reference/webhooks/rotate-webhook-secret"},{"title":"Send test event","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/webhooks/endpoints/{id}/test","href":"/api-reference/webhooks/send-test-event"},{"title":"List webhook deliveries","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/webhooks/deliveries","href":"/api-reference/webhooks/list-webhook-deliveries"},{"title":"Get webhook delivery","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/webhooks/deliveries/{id}","href":"/api-reference/webhooks/get-webhook-delivery"},{"title":"Redeliver webhook","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/webhooks/deliveries/{id}/redeliver","href":"/api-reference/webhooks/redeliver-webhook"}]},{"group":"Limits","pages":[{"title":"Get cold outreach limits","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/limits/cold","href":"/api-reference/limits/get-cold-outreach-limits"},{"title":"List owned domains","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/owned-domains","href":"/api-reference/owned-domains/list-owned-domains"},{"title":"Add owned domain","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/owned-domains","href":"/api-reference/owned-domains/add-owned-domain"},{"title":"Get owned domain","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/owned-domains/{id}","href":"/api-reference/owned-domains/get-owned-domain"},{"title":"Verify owned domain","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/owned-domains/{id}/verify","href":"/api-reference/owned-domains/verify-owned-domain"},{"title":"Delete owned domain","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json delete /v1/owned-domains/{id}","href":"/api-reference/owned-domains/delete-owned-domain"}]},{"group":"Feedback","pages":[{"title":"Report feedback","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json post /v1/feedback","href":"/api-reference/feedback/report-feedback"}]}]}]},"basePath":"","title":"Send email - OpenMail","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B8kPdtB2.js","snippetPresets-C-p1aFQ1.js","utils-B9NnUZSZ.js","style-to-object-BY3JEAdk.js","utils-DFxl7cW2.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-bSr9h7OB.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Bw4Gcy_r.js","_Uint8Array-C68x8Gny.js","isObject-FP1Yky1u.js","ApiExamples-BXsp8PHs.js","usePlaygroundInputsStore-BlAOLmIF.js","shallow-C2F02mqa.js","isEqual-C8iG4q2G.js","CodeSnippets-45lHR04X.js","CodeSnippet-6Cemznl-.js","use-playground-group-access-Cyy8SXp5.js","Page-CeZ_ZB5X.js","api-description-markdown-DiOdv5rp.js","DynamicMarkdown-B_9ywLDq.js","SectionHeading-Cc2r-uqU.js","MethodPill-Df3Tcu4c.js","getPastedJson-B3vrV0wE.js","Check2Icon-YQhSFafd.js","axios-CsQoIw0U.js","Markdown-0RkHcMOI.js","AssistantPageLink-DeJZCj9t.js","dist-DVqS175j.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}