Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
draftId
string
required
Minimum string length: 1
Response
Default Response
id
string
required
inboxId
string
required
to
string | null
required
cc
string[]
required
bcc
string[]
required
subject
string
required
bodyText
string | null
required
bodyHtml
string | null
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
threadId
string | null
Thread this draft will reply to when sent.
sourceThreadId
string | null
Conversation this draft was composed from.
attachments
object[]
Show child attributes
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":"6b00554fa30465d2cf3ffbf7","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API reference","count":65},{"language":"default","tag":"Documentation","count":32},{"language":"default","tag":"Webhooks","count":16},{"language":"default","tag":"Core concepts","count":8},{"language":"default","tag":"Inboxes","count":8},{"language":"default","tag":"Messages","count":8},{"language":"default","tag":"Pods","count":8},{"language":"default","tag":"Integrations","count":6},{"language":"default","tag":"Custom domains","count":6},{"language":"default","tag":"Drafts","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":"workos-onboarding","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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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":"control","enabled":true,"payload":{"type":"string","value":"control"},"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}],"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/drafts/get-email-draft","slug":"/api-reference/drafts/get-email-draft","pageMetadata":{"title":"Get email draft","description":"Retrieve an unsent draft with its full recipients and content.","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/drafts/{draftId}","href":"/api-reference/drafts/get-email-draft","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve an unsent draft with its full recipients and content.\"\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":"Get email draft","description":"Retrieve an unsent draft with its full recipients and content.","deprecated":null,"version":null,"openapi":"https://api.openmail.sh/openapi.json get /v1/drafts/{draftId}","href":"/api-reference/drafts/get-email-draft","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"getDraft","summary":"Get email draft","tags":["drafts"],"description":"Retrieve an unsent draft with its full recipients and content.","parameters":["88773bce-fd70-4a60-b7d0-f95368bedaee"],"responses":{"200":"c8a23b3e-445a-4b5a-8c30-b94d08c1060a","400":"7f70fe82-28c1-41d9-9bb0-072f5a864854","401":"ed0a0848-fc04-4311-a2e6-f354c1aa1cf3","403":"4f9ef344-46ce-4a2d-af47-57eeb310a7e4","404":"988e0444-e863-4613-b091-07d300b4f9f5"},"method":"get","type":"path","servers":["6122f187-7aa4-4040-b496-d0628c250201"],"security":["7dc23aa6-ffa2-4649-afc3-03845ffacb2f"],"path":"/v1/drafts/{draftId}","baseUrlOptions":["https://api.openmail.sh"],"title":"Get email draft","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","urlDisplay":"full"},"dependencies":{"parameters":{"88773bce-fd70-4a60-b7d0-f95368bedaee":{"schema":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"","typeLabel":"string"},"in":"path","name":"draftId","required":true}},"responses":{"c8a23b3e-445a-4b5a-8c30-b94d08c1060a":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["id","inboxId","to","cc","bcc","subject","bodyText","bodyHtml","createdAt","updatedAt"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"inboxId":{"type":"string","isRequired":true,"uniqueKey":"inboxId","typeLabel":"string"},"to":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"to.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"to.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"to","typeLabel":"string | null"},"cc":{"type":"array","items":{"type":"string","uniqueKey":"cc.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"cc","typeLabel":"string[]"},"bcc":{"type":"array","items":{"type":"string","uniqueKey":"bcc.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"bcc","typeLabel":"string[]"},"subject":{"type":"string","isRequired":true,"uniqueKey":"subject","typeLabel":"string"},"bodyText":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"bodyText.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"bodyText.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"bodyText","typeLabel":"string | null"},"bodyHtml":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"bodyHtml.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"bodyHtml.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"bodyHtml","typeLabel":"string | null"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"},"threadId":{"oneOf":[{"type":"string","description":"Thread this draft will reply to when sent.","uniqueKey":"threadId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Thread this draft will reply to when sent.","uniqueKey":"threadId.oneOf.1","typeLabel":"null"}],"uniqueKey":"threadId","typeLabel":"string | null"},"sourceThreadId":{"oneOf":[{"type":"string","description":"Conversation this draft was composed from.","uniqueKey":"sourceThreadId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Conversation this draft was composed from.","uniqueKey":"sourceThreadId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sourceThreadId","typeLabel":"string | null"},"attachments":{"type":"array","items":{"type":"object","required":["filename","contentType","sizeBytes"],"properties":{"filename":{"type":"string","isRequired":true,"uniqueKey":"attachments.items.[INDEX].filename","typeLabel":"string"},"contentType":{"type":"string","isRequired":true,"uniqueKey":"attachments.items.[INDEX].contentType","typeLabel":"string"},"sizeBytes":{"type":"integer","isRequired":true,"uniqueKey":"attachments.items.[INDEX].sizeBytes","typeLabel":"integer"},"contentId":{"type":"string","description":"Identifier referenced by cid: in bodyHtml for an inline attachment.","uniqueKey":"attachments.items.[INDEX].contentId","typeLabel":"string"},"url":{"type":"string","uniqueKey":"attachments.items.[INDEX].url","typeLabel":"string"}},"uniqueKey":"attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"attachments","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","inboxId":"\u003cstring>","to":"\u003cstring>","cc":["\u003cstring>"],"bcc":["\u003cstring>"],"subject":"\u003cstring>","bodyText":"\u003cstring>","bodyHtml":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","threadId":"\u003cstring>","sourceThreadId":"\u003cstring>","attachments":[{"filename":"\u003cstring>","contentType":"\u003cstring>","sizeBytes":123,"contentId":"\u003cstring>","url":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"7f70fe82-28c1-41d9-9bb0-072f5a864854":{"description":"Invalid draft or pagination","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ed0a0848-fc04-4311-a2e6-f354c1aa1cf3":{"description":"Missing, invalid, or expired credentials","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"4f9ef344-46ce-4a2d-af47-57eeb310a7e4":{"description":"Inbox is outside the API key scope","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"988e0444-e863-4613-b091-07d300b4f9f5":{"description":"Inbox or draft not found","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"7dc23aa6-ffa2-4649-afc3-03845ffacb2f":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API key","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"6122f187-7aa4-4040-b496-d0628c250201":{"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":"Get email draft - OpenMail","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-19T13:31:52.545Z","originalFileLocation":"api-reference/drafts/get-email-draft.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=\"Retrieve an unsent draft with its full recipients and content.\">\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=\"Get email draft - OpenMail\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve an unsent draft with its full recipients and content.\">\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/drafts/get-email-draft\">\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=\"Get email draft - OpenMail\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve an unsent draft with its full recipients and content.\">\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/drafts/get-email-draft\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/drafts/get-email-draft.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/drafts/get-email-draft#webpage\",\"url\":\"https://docs.openmail.sh/api-reference/drafts/get-email-draft\",\"name\":\"Get email draft\",\"description\":\"Retrieve an unsent draft with its full recipients and content.\",\"dateModified\":\"2026-11-19T13:31:52.545Z\",\"isPartOf\":{\"@id\":\"https://docs.openmail.sh#website\"},\"breadcrumb\":{\"@id\":\"https://docs.openmail.sh/api-reference/drafts/get-email-draft#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.openmail.sh/api-reference/drafts/get-email-draft#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Drafts\",\"item\":\"https://docs.openmail.sh/api-reference/drafts/list-email-drafts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get email draft\",\"item\":\"https://docs.openmail.sh/api-reference/drafts/get-email-draft\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.openmail.sh/api-reference/drafts/get-email-draft#apireference\",\"headline\":\"Get email draft\",\"name\":\"Get email draft\",\"description\":\"Retrieve an unsent draft with its full recipients and content.\",\"url\":\"https://docs.openmail.sh/api-reference/drafts/get-email-draft\",\"mainEntityOfPage\":{\"@id\":\"https://docs.openmail.sh/api-reference/drafts/get-email-draft#webpage\"},\"image\":\"https://openmail.sh/og-image.png\",\"dateModified\":\"2026-11-19T13:31:52.545Z\",\"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/drafts/get-email-draft.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"}]},{"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","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 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":"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","description":"Save an unsent email draft in the specified sending inbox. All content fields are optional. This operation does not send email, create a thread, or consume a sending allowance. The console lists drafts in each inbox and across the organisation.","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","description":"Update an unsent draft without sending it. Only supplied fields change. Read the draft first and pass its exact updatedAt; the response contains the new version. Draft ownership and reply context are fixed. Edits are blocked while a send is pending or accepted. Requires MCP send scope and respects inbox and pod API-key scopes.","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":"Get email draft - OpenMail","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CiUHMMOm.js","snippetPresets-BgfXU7Bw.js","utils-DWvOwgy_.js","style-to-object-BY3JEAdk.js","utils-BN7RXSMJ.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CFw8bq89.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CAwdfOU2.js","_Uint8Array-BJr8e-ZL.js","isObject-FP1Yky1u.js","ApiExamples-XX0UgMZK.js","usePlaygroundInputsStore-DXDFSa1V.js","shallow-CdX5aREi.js","isEqual-CoOaxexF.js","CodeSnippets-Cg2wpzWm.js","CodeSnippet-D_HwgQO_.js","getApiPlaygroundDisplay-CmCoerhe.js","Page-CVJ-f_k1.js","DynamicMarkdown-CQM9Bhbv.js","SectionHeading-DpbrP8nQ.js","icon-BPCgijHy.js","MethodPill-GQ8DuY0c.js","getPastedJson-Cb5mT31m.js","Check2Icon-a7bUI6e8.js","axios-CsQoIw0U.js","Markdown-CX2QY19L.js","AssistantPageLink-CY3bFglh.js","dist-Dl6_zDnT.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}