{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"inbound","colors":{"primary":"#8161FF","light":"#8161FF","dark":"#8161FF"},"logo":{"light":"https://mintcdn.com/inbound/9X4YbAqu-aoC72gx/logo/light.svg?fit=max\u0026auto=format\u0026n=9X4YbAqu-aoC72gx\u0026q=85\u0026s=e69d7ac2088d0df4183778cec514579b","dark":"https://mintcdn.com/inbound/9X4YbAqu-aoC72gx/logo/dark.svg?fit=max\u0026auto=format\u0026n=9X4YbAqu-aoC72gx\u0026q=85\u0026s=4ea108060d4b108db09c4372600b9a0a"},"favicon":"https://mintcdn.com/inbound/9X4YbAqu-aoC72gx/favicon.svg?fit=max\u0026auto=format\u0026n=9X4YbAqu-aoC72gx\u0026q=85\u0026s=14120b3a3cda1e2520075cbbf4671ead","appearance":{"default":"dark"},"background":{"color":{"light":"#FAFAF9"}},"navbar":{"links":[{"href":"https://inbound.new/logs","label":"Mail Flow"}],"primary":{"type":"button","label":"Get Started","href":"https://inbound.new"}},"footer":{"socials":{"github":"https://github.com/r44vc0rp/inbound"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"inbound","hasAudioNarration":false,"actualSubdomain":"inbound","customDomains":["inbound.new"],"gitSource":{"type":"github","owner":"inboundemail","repo":"inbound","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ae67adac064cc679ece80b6","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API Reference","count":89},{"language":"default","tag":"Mailboxes","count":42},{"language":"default","tag":"Documentation","count":15},{"language":"default","tag":"Mailboxes \u0026 SMTP","count":11},{"language":"default","tag":"Emails","count":9},{"language":"default","tag":"Guard","count":7},{"language":"default","tag":"Domains","count":6},{"language":"default","tag":"Endpoints","count":6},{"language":"default","tag":"Overview","count":5},{"language":"default","tag":"Email Addresses","count":5}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@inbound.new","showHelpButton":true}},"basePath":"/docs","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":"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}],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"api-reference/emails/get-email-by-id","slug":"/api-reference/emails/get-email-by-id","pageMetadata":{"title":"Get email by ID","description":"Retrieve a single email by ID. Works for sent, received, and scheduled emails.","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/emails/{id}","href":"/api-reference/emails/get-email-by-id","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 a single email by ID. Works for sent, received, and scheduled emails.\"\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":{"config":{},"pageMetadata":{"title":"Get email by ID","description":"Retrieve a single email by ID. Works for sent, received, and scheduled emails.","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/emails/{id}","href":"/api-reference/emails/get-email-by-id","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Emails"],"summary":"Get email by ID","description":"Retrieve a single email by ID. Works for sent, received, and scheduled emails.","parameters":["432f7b02-438b-47f2-9a80-54f2e75271de"],"responses":{"200":"1b640902-efe1-443e-b718-5d8fa04a9726","401":"ea135c58-642a-4273-b351-d5dbc0c600d7","404":"b3f2be37-e247-4a4c-9a60-4ced39b9224e","500":"51652c9d-34e0-430a-a691-bcb5dbd75d41"},"operationId":"getApiE2EmailsById","x-codeSamples":[{"lang":"typescript","label":"TypeScript","source":"import Inbound from \"inboundemail\";\n\nconst inbound = new Inbound();\nconst result = await inbound.emails.retrieve(\"\u003cemailId>\");"},{"lang":"curl","label":"cURL","source":"curl -X GET 'https://inbound.new/api/e2/emails/\u003cemailId>' \\\n -H \"Authorization: Bearer $INBOUND_API_KEY\""}],"method":"get","type":"path","servers":["a6ff19d1-12ee-4cff-bb3c-f5e23b952134"],"security":["a21929c0-7ca0-4eed-85c4-490e145403c5"],"path":"/api/e2/emails/{id}","baseUrlOptions":["https://inbound.new"],"title":"Get email by ID","codeSamples":[{"label":"TypeScript","lang":"typescript","source":"import Inbound from \"inboundemail\";\n\nconst inbound = new Inbound();\nconst result = await inbound.emails.retrieve(\"\u003cemailId>\");"},{"label":"cURL","lang":"curl","source":"curl -X GET 'https://inbound.new/api/e2/emails/\u003cemailId>' \\\n -H \"Authorization: Bearer $INBOUND_API_KEY\""}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"432f7b02-438b-47f2-9a80-54f2e75271de":{"name":"id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"1b640902-efe1-443e-b718-5d8fa04a9726":{"description":"Response for status 200","content":{"application/json":{"schema":{"type":"object","properties":{"object":{"const":"email","type":"string","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"id":{"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"type":{"type":"string","enum":["sent","received","scheduled"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"from":{"type":"string","isRequired":true,"uniqueKey":"from","typeLabel":"string"},"to":{"type":"array","items":{"type":"string","uniqueKey":"to.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"to","typeLabel":"string[]"},"subject":{"type":"string","isRequired":true,"uniqueKey":"subject","typeLabel":"string"},"status":{"type":"string","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"created_at":{"type":"string","isRequired":true,"uniqueKey":"created_at","typeLabel":"string"},"has_attachments":{"type":"boolean","isRequired":true,"uniqueKey":"has_attachments","typeLabel":"boolean"},"envelope_recipient":{"oneOf":[{"type":"string","description":"Primary envelope recipient (first of envelope_recipients). Deprecated: use envelope_recipients","uniqueKey":"envelope_recipient.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"envelope_recipient.oneOf.1","typeLabel":"null"},{"type":"null","uniqueKey":"envelope_recipient.oneOf.2","typeLabel":"null"}],"uniqueKey":"envelope_recipient","typeLabel":"string · null · null"},"envelope_recipients":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"envelope_recipients.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"All envelope recipients this email was delivered to on your domains, including BCC recipients, independent of message headers","uniqueKey":"envelope_recipients.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"envelope_recipients.oneOf.1","typeLabel":"null"},{"type":"null","uniqueKey":"envelope_recipients.oneOf.2","typeLabel":"null"}],"uniqueKey":"envelope_recipients","typeLabel":"string[] · null · null"},"cc":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"cc.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"cc.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"cc.oneOf.1","typeLabel":"null"},{"type":"null","uniqueKey":"cc.oneOf.2","typeLabel":"null"}],"uniqueKey":"cc","typeLabel":"string[] · null · null"},"bcc":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"bcc.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"bcc.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"bcc.oneOf.1","typeLabel":"null"},{"type":"null","uniqueKey":"bcc.oneOf.2","typeLabel":"null"}],"uniqueKey":"bcc","typeLabel":"string[] · null · null"},"reply_to":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"reply_to.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"reply_to.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"reply_to.oneOf.1","typeLabel":"null"},{"type":"null","uniqueKey":"reply_to.oneOf.2","typeLabel":"null"}],"uniqueKey":"reply_to","typeLabel":"string[] · null · null"},"html":{"oneOf":[{"type":"string","uniqueKey":"html.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"html.oneOf.1","typeLabel":"null"},{"type":"null","uniqueKey":"html.oneOf.2","typeLabel":"null"}],"uniqueKey":"html","typeLabel":"string · null · null"},"text":{"oneOf":[{"type":"string","uniqueKey":"text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"text.oneOf.1","typeLabel":"null"},{"type":"null","uniqueKey":"text.oneOf.2","typeLabel":"null"}],"uniqueKey":"text","typeLabel":"string · null · null"},"sent_at":{"oneOf":[{"type":"string","uniqueKey":"sent_at.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"sent_at.oneOf.1","typeLabel":"null"},{"type":"null","uniqueKey":"sent_at.oneOf.2","typeLabel":"null"}],"uniqueKey":"sent_at","typeLabel":"string · null · null"},"scheduled_at":{"oneOf":[{"type":"string","uniqueKey":"scheduled_at.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"scheduled_at.oneOf.1","typeLabel":"null"},{"type":"null","uniqueKey":"scheduled_at.oneOf.2","typeLabel":"null"}],"uniqueKey":"scheduled_at","typeLabel":"string · null · null"},"attachments":{"type":"array","items":{"oneOf":[{"x-stainless-any":true}],"uniqueKey":"attachments.items.[INDEX]","typeLabel":"any"},"uniqueKey":"attachments","typeLabel":"any[]"},"is_read":{"type":"boolean","uniqueKey":"is_read","typeLabel":"boolean"},"spam":{"description":"Junk filter verdict (received emails only)","type":"object","properties":{"is_junk":{"description":"Whether the junk filter marked this received email as junk","type":"boolean","isRequired":true,"uniqueKey":"spam.is_junk","typeLabel":"boolean"},"reason":{"oneOf":[{"type":"string","description":"classifier, ses_spam, guard_rule or user; null when no verdict was made","isRequired":true,"uniqueKey":"spam.reason.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"spam.reason.oneOf.1","typeLabel":"null"},{"type":"null","isRequired":true,"uniqueKey":"spam.reason.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"spam.reason","typeLabel":"string · null · null"}},"required":["is_junk","reason"],"uniqueKey":"spam","typeLabel":"object"},"thread_id":{"oneOf":[{"type":"string","uniqueKey":"thread_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"thread_id.oneOf.1","typeLabel":"null"},{"type":"null","uniqueKey":"thread_id.oneOf.2","typeLabel":"null"}],"uniqueKey":"thread_id","typeLabel":"string · null · null"},"thread_position":{"oneOf":[{"type":"number","uniqueKey":"thread_position.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"thread_position.oneOf.1","typeLabel":"null"},{"type":"null","uniqueKey":"thread_position.oneOf.2","typeLabel":"null"}],"uniqueKey":"thread_position","typeLabel":"number · null · null"},"headers":{"oneOf":[{"x-stainless-any":true}],"uniqueKey":"headers","typeLabel":"any"},"tags":{"type":"array","items":{"oneOf":[{"x-stainless-any":true}],"uniqueKey":"tags.items.[INDEX]","typeLabel":"any"},"uniqueKey":"tags","typeLabel":"any[]"}},"required":["object","id","type","from","to","subject","status","created_at","has_attachments"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"email","id":"\u003cstring>","type":"sent","from":"\u003cstring>","to":["\u003cstring>"],"subject":"\u003cstring>","status":"\u003cstring>","created_at":"\u003cstring>","has_attachments":true,"envelope_recipient":"\u003cstring>","envelope_recipients":["\u003cstring>"],"cc":["\u003cstring>"],"bcc":["\u003cstring>"],"reply_to":["\u003cstring>"],"html":"\u003cstring>","text":"\u003cstring>","sent_at":"\u003cstring>","scheduled_at":"\u003cstring>","attachments":["\u003cunknown>"],"is_read":true,"spam":{"is_junk":true,"reason":"\u003cstring>"},"thread_id":"\u003cstring>","thread_position":123,"headers":"\u003cunknown>","tags":["\u003cunknown>"]}}},"exampleType":"generated"}},"exampleType":"generated"},"ea135c58-642a-4273-b351-d5dbc0c600d7":{"description":"Response for status 401","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"b3f2be37-e247-4a4c-9a60-4ced39b9224e":{"description":"Response for status 404","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"51652c9d-34e0-430a-a691-bcb5dbd75d41":{"description":"Response for status 500","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a21929c0-7ca0-4eed-85c4-490e145403c5":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Your Inbound API key. Include it in the Authorization header as: Bearer \u003cyour-api-key>","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"a6ff19d1-12ee-4cff-bb3c-f5e23b952134":{"url":"https://inbound.new","description":"Production API server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Your Inbound API key. Include it in the Authorization header as: Bearer \u003cyour-api-key>","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your Inbound API key. Include it in the Authorization header as: Bearer \u003cyour-api-key>","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://inbound.new/openapi.json"},"subdomain":"inbound","siteName":"inbound","title":"Get email by ID - inbound","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-31T23:33:51.014Z","originalFileLocation":"api-reference/emails/get-email-by-id.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 a single email by ID. Works for sent, received, and scheduled emails.\">\u003cmeta data-mint-head name=\"application-name\" content=\"inbound\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/inbound/jpl8ag4HwpFFGPF8/_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=\"/docs/mintlify-assets/_mintlify/favicons/inbound/jpl8ag4HwpFFGPF8/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/inbound/jpl8ag4HwpFFGPF8/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/inbound/jpl8ag4HwpFFGPF8/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/inbound/jpl8ag4HwpFFGPF8/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/inbound/jpl8ag4HwpFFGPF8/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/inbound/jpl8ag4HwpFFGPF8/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/inbound/jpl8ag4HwpFFGPF8/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/inbound/jpl8ag4HwpFFGPF8/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get email by ID - inbound\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve a single email by ID. Works for sent, received, and scheduled emails.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"inbound\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://inbound.new/docs/api-reference/emails/get-email-by-id\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://inbound.mintlify.site/docs/_mintlify/api/og/v2?division=Emails\u0026amp;title=Get+email+by+ID\u0026amp;description=Retrieve+a+single+email+by+ID.+Works+for+sent%2C+received%2C+and+scheduled+emails.\u0026amp;theme=72fcc254ecd50009f845fe3a\u0026amp;signature=ed11460fbef0b0b675eab7185030ac27f867667f01fa6b020b890a977f47f50b\">\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 by ID - inbound\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve a single email by ID. Works for sent, received, and scheduled emails.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://inbound.mintlify.site/docs/_mintlify/api/og/v2?division=Emails\u0026amp;title=Get+email+by+ID\u0026amp;description=Retrieve+a+single+email+by+ID.+Works+for+sent%2C+received%2C+and+scheduled+emails.\u0026amp;theme=72fcc254ecd50009f845fe3a\u0026amp;signature=ed11460fbef0b0b675eab7185030ac27f867667f01fa6b020b890a977f47f50b\">\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=\"/docs/mintlify-assets/_mintlify/favicons/inbound/jpl8ag4HwpFFGPF8/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"inbound\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8161FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://inbound.new/docs/api-reference/emails/get-email-by-id\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/emails/get-email-by-id.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://inbound.new/#organization\",\"name\":\"inbound\",\"url\":\"https://inbound.new\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/inbound/9X4YbAqu-aoC72gx/logo/light.svg?fit=max\u0026auto=format\u0026n=9X4YbAqu-aoC72gx\u0026q=85\u0026s=e69d7ac2088d0df4183778cec514579b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://inbound.new/docs#website\",\"name\":\"inbound\",\"url\":\"https://inbound.new/docs\",\"publisher\":{\"@id\":\"https://inbound.new/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://inbound.new/docs/api-reference/emails/get-email-by-id#webpage\",\"url\":\"https://inbound.new/docs/api-reference/emails/get-email-by-id\",\"name\":\"Get email by ID\",\"description\":\"Retrieve a single email by ID. Works for sent, received, and scheduled emails.\",\"dateModified\":\"2026-10-31T23:33:51.014Z\",\"isPartOf\":{\"@id\":\"https://inbound.new/docs#website\"},\"breadcrumb\":{\"@id\":\"https://inbound.new/docs/api-reference/emails/get-email-by-id#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://inbound.new/docs/api-reference/emails/get-email-by-id#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Emails\",\"item\":\"https://inbound.new/docs/api-reference/emails/list-all-emails\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get email by ID\",\"item\":\"https://inbound.new/docs/api-reference/emails/get-email-by-id\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://inbound.new/docs/api-reference/emails/get-email-by-id#apireference\",\"headline\":\"Get email by ID\",\"name\":\"Get email by ID\",\"description\":\"Retrieve a single email by ID. Works for sent, received, and scheduled emails.\",\"url\":\"https://inbound.new/docs/api-reference/emails/get-email-by-id\",\"mainEntityOfPage\":{\"@id\":\"https://inbound.new/docs/api-reference/emails/get-email-by-id#webpage\"},\"dateModified\":\"2026-10-31T23:33:51.014Z\",\"publisher\":{\"@id\":\"https://inbound.new/#organization\"},\"isPartOf\":{\"@id\":\"https://inbound.new/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"inbound\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"inbound\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/emails/get-email-by-id.md","siteName":"inbound","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/quickstart/introduction"}]},{"anchor":"API Reference","icon":"square-terminal","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Rate Limits","href":"/api-reference/rate-limits"},{"title":"Webhook Structure","href":"/api-reference/webhook"},{"title":"Security","href":"/api-reference/security"},{"title":"Error Codes","href":"/api-reference/errors"}]},{"group":"Domains","pages":[{"title":"List all domains","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/domains","href":"/api-reference/domains/list-all-domains"},{"title":"Create new domain","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/domains","href":"/api-reference/domains/create-new-domain"},{"title":"Get domain by ID","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/domains/{id}","href":"/api-reference/domains/get-domain-by-id"},{"title":"Delete domain","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json delete /api/e2/domains/{id}","href":"/api-reference/domains/delete-domain"},{"title":"Update domain catch-all and subdomain settings","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json patch /api/e2/domains/{id}","href":"/api-reference/domains/update-domain-catch-all-and-subdomain-settings"},{"title":"Enable DKIM","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/domains/{id}/dkim","href":"/api-reference/domains/enable-dkim"}]},{"group":"Endpoints","pages":[{"title":"List all endpoints","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/endpoints","href":"/api-reference/endpoints/list-all-endpoints"},{"title":"Create new endpoint","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/endpoints","href":"/api-reference/endpoints/create-new-endpoint"},{"title":"Get endpoint details","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/endpoints/{id}","href":"/api-reference/endpoints/get-endpoint-details"},{"title":"Update endpoint","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json put /api/e2/endpoints/{id}","href":"/api-reference/endpoints/update-endpoint"},{"title":"Delete endpoint","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json delete /api/e2/endpoints/{id}","href":"/api-reference/endpoints/delete-endpoint"},{"title":"Test endpoint","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/endpoints/{id}/test","href":"/api-reference/endpoints/test-endpoint"}]},{"group":"Email Addresses","pages":[{"title":"List all email addresses","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/email-addresses","href":"/api-reference/email-addresses/list-all-email-addresses"},{"title":"Create email address","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/email-addresses","href":"/api-reference/email-addresses/create-email-address"},{"title":"Get email address","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/email-addresses/{id}","href":"/api-reference/email-addresses/get-email-address"},{"title":"Update email address","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json put /api/e2/email-addresses/{id}","href":"/api-reference/email-addresses/update-email-address"},{"title":"Delete email address","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json delete /api/e2/email-addresses/{id}","href":"/api-reference/email-addresses/delete-email-address"}]},{"group":"Attachments","pages":[{"title":"List email attachments","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/attachments/{id}","href":"/api-reference/attachments/list-email-attachments"},{"title":"Download attachment by position","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/attachments/{id}/parts/{index}","href":"/api-reference/attachments/download-attachment-by-position"},{"title":"Download email attachment","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/attachments/{id}/{filename}","href":"/api-reference/attachments/download-email-attachment"}]},{"group":"Authentication","pages":[{"title":"Revoke the current API key","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/auth/revoke-key","href":"/api-reference/authentication/revoke-the-current-api-key"}]},{"group":"Emails","pages":[{"title":"List all emails","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/emails","href":"/api-reference/emails/list-all-emails"},{"title":"Send an email","description":"Send an email immediately or schedule it for later using the scheduled_at parameter. Supports HTML/text content, attachments, and custom headers.","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/emails","href":"/api-reference/emails/send-an-email"},{"title":"Get email by ID","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/emails/{id}","href":"/api-reference/emails/get-email-by-id"},{"title":"Cancel scheduled email","description":"Cancel a scheduled email by ID. Only works for emails that haven't been sent yet.","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json delete /api/e2/emails/{id}","href":"/api-reference/emails/cancel-scheduled-email"},{"title":"Update email","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json patch /api/e2/emails/{id}","href":"/api-reference/emails/update-email"},{"title":"Pause scheduled email","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/emails/{id}/pause","href":"/api-reference/emails/pause-scheduled-email"},{"title":"Resume paused scheduled email","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/emails/{id}/resume","href":"/api-reference/emails/resume-paused-scheduled-email"},{"title":"Reply to an email","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/emails/{id}/reply","href":"/api-reference/emails/reply-to-an-email"},{"title":"Retry email delivery","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/emails/{id}/retry","href":"/api-reference/emails/retry-email-delivery"}]},{"group":"Inbox","pages":[{"title":"List inbox threads","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mail/threads","href":"/api-reference/inbox/list-inbox-threads"},{"title":"Get thread by ID","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mail/threads/{id}","href":"/api-reference/inbox/get-thread-by-id"}]},{"group":"Mailboxes","pages":[{"title":"List managed mailboxes","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes","href":"/api-reference/mailboxes/list-managed-mailboxes"},{"title":"Create a managed mailbox","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/mailboxes","href":"/api-reference/mailboxes/create-a-managed-mailbox"},{"title":"List activity for all mailboxes","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/activity","href":"/api-reference/mailboxes/list-activity-for-all-mailboxes"},{"title":"List mailbox activity","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/{id}/activity","href":"/api-reference/mailboxes/list-mailbox-activity"},{"title":"Get a mailbox","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/{id}","href":"/api-reference/mailboxes/get-a-mailbox"},{"title":"Update a managed mailbox","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json put /api/e2/mailboxes/{id}","href":"/api-reference/mailboxes/update-a-managed-mailbox"},{"title":"Delete a managed mailbox","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json delete /api/e2/mailboxes/{id}","href":"/api-reference/mailboxes/delete-a-managed-mailbox"},{"title":"Rotate a mailbox password","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/mailboxes/{id}/rotate-password","href":"/api-reference/mailboxes/rotate-a-mailbox-password"},{"title":"List mailbox messages","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/{id}/messages","href":"/api-reference/mailboxes/list-mailbox-messages"},{"title":"Get a mailbox message","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/{id}/messages/{messageId}","href":"/api-reference/mailboxes/get-a-mailbox-message"},{"title":"Mark a mailbox message read, archived or junk","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json patch /api/e2/mailboxes/{id}/messages/{messageId}","href":"/api-reference/mailboxes/mark-a-mailbox-message-read-archived-or-junk"},{"title":"Get a mailbox thread","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/{id}/threads/{threadId}","href":"/api-reference/mailboxes/get-a-mailbox-thread"},{"title":"Download a mailbox attachment","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/{id}/messages/{messageId}/attachments/{index}","href":"/api-reference/mailboxes/download-a-mailbox-attachment"},{"title":"List mailbox folders","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/{id}/folders","href":"/api-reference/mailboxes/list-mailbox-folders"},{"title":"Create a mailbox folder","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/mailboxes/{id}/folders","href":"/api-reference/mailboxes/create-a-mailbox-folder"},{"title":"Delete a mailbox folder","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json delete /api/e2/mailboxes/{id}/folders/{folder}","href":"/api-reference/mailboxes/delete-a-mailbox-folder"},{"title":"Rename or subscribe a mailbox folder","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json patch /api/e2/mailboxes/{id}/folders/{folder}","href":"/api-reference/mailboxes/rename-or-subscribe-a-mailbox-folder"},{"title":"Expunge a mailbox folder","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/mailboxes/{id}/folders/{folder}/expunge","href":"/api-reference/mailboxes/expunge-a-mailbox-folder"},{"title":"List folder messages","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/{id}/folders/{folder}/messages","href":"/api-reference/mailboxes/list-folder-messages"},{"title":"Add a message to a folder","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/mailboxes/{id}/folders/{folder}/messages","href":"/api-reference/mailboxes/add-a-message-to-a-folder"},{"title":"Get a folder message","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/{id}/folders/{folder}/messages/{uid}","href":"/api-reference/mailboxes/get-a-folder-message"},{"title":"Delete a folder message","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json delete /api/e2/mailboxes/{id}/folders/{folder}/messages/{uid}","href":"/api-reference/mailboxes/delete-a-folder-message"},{"title":"Update a folder message's flags","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json patch /api/e2/mailboxes/{id}/folders/{folder}/messages/{uid}","href":"/api-reference/mailboxes/update-a-folder-messages-flags"},{"title":"Download a folder message's raw source","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/{id}/folders/{folder}/messages/{uid}/raw","href":"/api-reference/mailboxes/download-a-folder-messages-raw-source"},{"title":"Move a folder message","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/mailboxes/{id}/folders/{folder}/messages/{uid}/move","href":"/api-reference/mailboxes/move-a-folder-message"},{"title":"Copy a folder message","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/mailboxes/{id}/folders/{folder}/messages/{uid}/copy","href":"/api-reference/mailboxes/copy-a-folder-message"},{"title":"List a folder message's attachments","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/{id}/folders/{folder}/messages/{uid}/attachments","href":"/api-reference/mailboxes/list-a-folder-messages-attachments"},{"title":"Download a folder message's attachment","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/{id}/folders/{folder}/messages/{uid}/attachments/{index}","href":"/api-reference/mailboxes/download-a-folder-messages-attachment"},{"title":"List mailbox filters","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/{id}/filters","href":"/api-reference/mailboxes/list-mailbox-filters"},{"title":"Create a mailbox filter","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/mailboxes/{id}/filters","href":"/api-reference/mailboxes/create-a-mailbox-filter"},{"title":"Reorder mailbox filters","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/mailboxes/{id}/filters/reorder","href":"/api-reference/mailboxes/reorder-mailbox-filters"},{"title":"Run mailbox filters on a folder","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/mailboxes/{id}/filters/apply","href":"/api-reference/mailboxes/run-mailbox-filters-on-a-folder"},{"title":"Get a mailbox filter","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/{id}/filters/{filterId}","href":"/api-reference/mailboxes/get-a-mailbox-filter"},{"title":"Delete a mailbox filter","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json delete /api/e2/mailboxes/{id}/filters/{filterId}","href":"/api-reference/mailboxes/delete-a-mailbox-filter"},{"title":"Update a mailbox filter","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json patch /api/e2/mailboxes/{id}/filters/{filterId}","href":"/api-reference/mailboxes/update-a-mailbox-filter"},{"title":"Run one mailbox filter on a folder","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/mailboxes/{id}/filters/{filterId}/apply","href":"/api-reference/mailboxes/run-one-mailbox-filter-on-a-folder"},{"title":"Get mailbox spam settings","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/mailboxes/{id}/spam","href":"/api-reference/mailboxes/get-mailbox-spam-settings"},{"title":"Replace mailbox spam settings","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json put /api/e2/mailboxes/{id}/spam","href":"/api-reference/mailboxes/replace-mailbox-spam-settings"},{"title":"Add a sender to the mailbox spam allow list","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/mailboxes/{id}/spam/allow","href":"/api-reference/mailboxes/add-a-sender-to-the-mailbox-spam-allow-list"},{"title":"Remove a sender from the mailbox spam allow list","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json delete /api/e2/mailboxes/{id}/spam/allow","href":"/api-reference/mailboxes/remove-a-sender-from-the-mailbox-spam-allow-list"},{"title":"Add a sender to the mailbox spam block list","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/mailboxes/{id}/spam/block","href":"/api-reference/mailboxes/add-a-sender-to-the-mailbox-spam-block-list"},{"title":"Remove a sender from the mailbox spam block list","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json delete /api/e2/mailboxes/{id}/spam/block","href":"/api-reference/mailboxes/remove-a-sender-from-the-mailbox-spam-block-list"}]},{"group":"Spam Filter","pages":[{"title":"Get spam filter settings","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/spam-filter","href":"/api-reference/spam-filter/get-spam-filter-settings"},{"title":"Update spam filter settings","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json put /api/e2/spam-filter","href":"/api-reference/spam-filter/update-spam-filter-settings"}]},{"group":"Guard","pages":[{"title":"List guard rules","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/guard","href":"/api-reference/guard/list-guard-rules"},{"title":"Create guard rule","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/guard","href":"/api-reference/guard/create-guard-rule"},{"title":"Get guard rule","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json get /api/e2/guard/{id}","href":"/api-reference/guard/get-guard-rule"},{"title":"Update guard rule","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json put /api/e2/guard/{id}","href":"/api-reference/guard/update-guard-rule"},{"title":"Delete guard rule","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json delete /api/e2/guard/{id}","href":"/api-reference/guard/delete-guard-rule"},{"title":"Check if rule matches email","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/guard/{id}/check","href":"/api-reference/guard/check-if-rule-matches-email"},{"title":"Generate rule from natural language","deprecated":null,"version":null,"openapi":"https://inbound.new/openapi.json post /api/e2/guard/generate","href":"/api-reference/guard/generate-rule-from-natural-language"}]},{"group":"Webhooks","pages":[{"title":"Email received","version":null,"deprecated":null,"openapi":"https://inbound.new/openapi.json webhook emailReceived","href":"/api-reference/webhooks/email-received"}]}]}]},"basePath":"","title":"Get email by ID - inbound","deploymentId":"dpl_53YqbBPsHdrqSGqXiWPGU7csRVod","buildId":"dpl_53YqbBPsHdrqSGqXiWPGU7csRVod","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-Ku9dSkH0.js","snippetPresets-Cjez4eet.js","utils-BqNa-fnS.js","style-to-object-BY3JEAdk.js","utils-DiE92JCe.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-Bi0DpqVf.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C6xnxscF.js","_Uint8Array-B7g0OYAt.js","isObject-FP1Yky1u.js","Page--B9YZ09u.js","CodeSnippet-CTZvgJfu.js","DynamicMarkdown-CsgNpZb1.js","SectionHeading-C3K437Dy.js","icon-DlxjjqnB.js","ApiExamples-Bf8Ecb5t.js","usePlaygroundInputsStore-BA942cq6.js","shallow-D0sePNkF.js","isEqual-CnnQO8sL.js","CodeSnippets-BTANoy1T.js","getApiPlaygroundDisplay-BK2o1XYu.js","MethodPill-Cr7Ib9nN.js","getPastedJson-DXo3wtHt.js","Check2Icon-ChEI-f_B.js","axios-CsQoIw0U.js","Markdown-CH4mv0N8.js","AssistantPageLink-BHjmqccN.js","dist-DYCPzQwJ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}