Newsletters, promotions, product announcements: email people opted in to receive.
Send "class": "marketing".
Sendbaze adds List-Unsubscribe and one-click unsubscribe headers, so Gmail, Yahoo and Outlook show an Unsubscribe button. Put {{unsubscribe_url}} in your HTML or text to add a visible link too.
Recipients who unsubscribe are suppressed for marketing only; your transactional email still reaches them.
The complaint monitor watches marketing more closely: at 3 or more complaints and a complaint rate of 0.1% over 24 hours, sending pauses and the owners are emailed. See reputation.
{ "from": "news@yourshop.co.za", "to": "thandi@example.com", "subject": "New arrivals this week", "html": "<p>...</p><p><a href=\"{{unsubscribe_url}}\">Unsubscribe</a></p>", "class": "marketing"}
Use a separate sending subdomain for marketing (news.yourshop.co.za) so a bad campaign never dents the reputation of your transactional mail.
SMS uses the same two classes with an extra rule: marketing SMS may only go out between 08:00 and 20:00 SAST, not on Sundays or public holidays. Messages sent outside the window are held and sent at 08:00 on the next permitted day. See SMS.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sendbaze","description":"Transactional email and SMS API for Africa. Send from your own domain, from servers on the continent, with webhooks, templates, suppressions and a dashboard.","colors":{"primary":"#4D7CFF","light":"#8FD6FF","dark":"#4D7CFF"},"logo":{"light":"https://mintcdn.com/sendbaze-e4685166/qQClJyyt7LIRtxE9/logo/light.svg?fit=max\u0026auto=format\u0026n=qQClJyyt7LIRtxE9\u0026q=85\u0026s=ad3774129b02e31998cf4d4b68faa6c4","dark":"https://mintcdn.com/sendbaze-e4685166/qQClJyyt7LIRtxE9/logo/dark.svg?fit=max\u0026auto=format\u0026n=qQClJyyt7LIRtxE9\u0026q=85\u0026s=996553666d3645f8510736df07dfd91b","href":"https://www.sendbaze.com"},"favicon":"https://mintcdn.com/sendbaze-e4685166/qQClJyyt7LIRtxE9/favicon.svg?fit=max\u0026auto=format\u0026n=qQClJyyt7LIRtxE9\u0026q=85\u0026s=6cbee94d357b57a8ce76524cdffd13bc","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python","ruby","php","go"]}},"appearance":{"default":"dark","strict":false},"background":{"decoration":"gradient","color":{"light":"#F5F7FF","dark":"#04060D"}},"navbar":{"links":[{"href":"https://dashboard.sendbaze.com","label":"Sign in"}],"primary":{"type":"button","label":"Get started","href":"https://www.sendbaze.com/sign-up"}},"footer":{"socials":{"github":"https://github.com/sendbaze","website":"https://www.sendbaze.com"}},"fonts":{"heading":{"family":"Space Grotesk"},"body":{"family":"Inter"}},"styling":{"codeblocks":"dark","latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://dashboard.sendbaze.com"},{"anchor":"Status","icon":"signal","href":"https://www.sendbaze.com/status"},{"anchor":"Support","icon":"envelope","href":"mailto:support@sendbaze.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sendbaze-e4685166","hasAudioNarration":false,"actualSubdomain":"sendbaze-e4685166","customDomains":["docs.sendbaze.com"],"gitSource":{"type":"github","owner":"leossaini","repo":"sendbaze","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ae371adcacd1c86dbd6e99f","collectionId":"e4644757-a9be-4bcc-959f-aa0bfd3eddce","liveDeploymentHistoryId":"6ae371adcacd1c86dbd6e99f","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ae371adcacd1c86dbd6e99f","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API reference","count":40},{"language":"default","tag":"Documentation","count":36},{"language":"default","tag":"Learn","count":19},{"language":"default","tag":"Get started","count":12},{"language":"default","tag":"Webhooks","count":12},{"language":"default","tag":"Domains","count":8},{"language":"default","tag":"Sending","count":8},{"language":"default","tag":"Sending examples","count":7},{"language":"default","tag":"Templates","count":7},{"language":"default","tag":"Resources","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"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":"llms-txt-v2","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":"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":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"get-started/email-types","slug":"/get-started/email-types","pageMetadata":{"title":"Email types","description":"Sendbaze treats transactional and marketing email differently. Say which one you are sending with the class field.","href":"/get-started/email-types"},"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: \"Sendbaze treats transactional and marketing email differently. Say which one you are sending with the class field.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Every email has a `,_jsx(_components.code,{children:`class`}),`: `,_jsx(_components.code,{children:`transactional`}),` (the default) or `,_jsx(_components.code,{children:`marketing`}),`. The class changes what Sendbaze adds to the message and which rules apply.`]}),`\n`,_jsx(Heading,{level:`2`,id:`transactional`,children:`Transactional`}),`\n`,_jsx(_components.p,{children:`Email a person expects because of something they did: an order confirmation, a one-time password, a password reset, an invoice, a delivery update.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Sent to anyone, no consent record needed.`}),`\n`,_jsx(_components.li,{children:`No unsubscribe headers: recipients cannot opt out of their own receipts.`}),`\n`,_jsx(_components.li,{children:`Still blocked for addresses that hard-bounced or complained, because sending to them again only hurts your reputation.`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"orders@yourshop.co.za\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"thandi@example.com\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"subject\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Your order #1042 has shipped\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"html\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cp>Tracking: \u003cb>CG123456789ZA\u003c/b>\u003c/p>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`marketing`,children:`Marketing`}),`\n`,_jsx(_components.p,{children:`Newsletters, promotions, product announcements: email people opted in to receive.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Send `,_jsx(_components.code,{children:`\"class\": \"marketing\"`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Sendbaze adds `,_jsx(_components.code,{children:`List-Unsubscribe`}),` and one-click unsubscribe headers, so Gmail, Yahoo and Outlook show an `,_jsx(_components.strong,{children:`Unsubscribe`}),` button. Put `,_jsx(_components.code,{children:`{{unsubscribe_url}}`}),` in your HTML or text to add a visible link too.`]}),`\n`,_jsx(_components.li,{children:`Recipients who unsubscribe are suppressed for marketing only; your transactional email still reaches them.`}),`\n`,_jsxs(_components.li,{children:[`The complaint monitor watches marketing more closely: at 3 or more complaints and a complaint rate of 0.1% over 24 hours, sending pauses and the owners are emailed. See `,_jsx(_components.a,{href:`/learn/deliverability/reputation`,children:`reputation`}),`.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"news@yourshop.co.za\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"thandi@example.com\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"subject\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"New arrivals this week\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"html\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cp>...\u003c/p>\u003cp>\u003ca href=`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`{{unsubscribe_url}}`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`>Unsubscribe\u003c/a>\u003c/p>\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"class\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"marketing\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Use a separate sending subdomain for marketing (`,_jsx(_components.code,{children:`news.yourshop.co.za`}),`) so a bad campaign never dents the reputation of your transactional mail.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`sms-classes`,children:`SMS classes`}),`\n`,_jsxs(_components.p,{children:[`SMS uses the same two classes with an extra rule: marketing SMS may only go out between 08:00 and 20:00 SAST, not on Sundays or public holidays. Messages sent outside the window are held and sent at 08:00 on the next permitted day. See `,_jsx(_components.a,{href:`/learn/sms`,children:`SMS`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Email types","description":"Sendbaze treats transactional and marketing email differently. Say which one you are sending with the class field.","href":"/get-started/email-types"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Transactional","slug":"transactional","depth":2,"children":[]},{"title":"Marketing","slug":"marketing","depth":2,"children":[]},{"title":"SMS classes","slug":"sms-classes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"sendbaze-e4685166","siteName":"Sendbaze","title":"Email types - Sendbaze","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-21T13:16:01.185Z","originalFileLocation":"get-started/email-types.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=\"Sendbaze treats transactional and marketing email differently. Say which one you are sending with the class field.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sendbaze\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sendbaze-e4685166/EerGTJNPOdlOkMSC/_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/sendbaze-e4685166/EerGTJNPOdlOkMSC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sendbaze-e4685166/EerGTJNPOdlOkMSC/_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/sendbaze-e4685166/EerGTJNPOdlOkMSC/_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/sendbaze-e4685166/EerGTJNPOdlOkMSC/_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/sendbaze-e4685166/EerGTJNPOdlOkMSC/_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/sendbaze-e4685166/EerGTJNPOdlOkMSC/_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/sendbaze-e4685166/EerGTJNPOdlOkMSC/_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/sendbaze-e4685166/EerGTJNPOdlOkMSC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Email types - Sendbaze\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sendbaze treats transactional and marketing email differently. Say which one you are sending with the class field.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sendbaze\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sendbaze.com/get-started/email-types\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sendbaze-e4685166.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Email+types\u0026amp;description=Sendbaze+treats+transactional+and+marketing+email+differently.+Say+which+one+you+are+sending+with+the+class+field.\u0026amp;theme=e0a16bd18abb95d7926b3870\u0026amp;signature=adfa1f19863a184d27259ff886930c6cb9e9f4f5be83283e725f155d751c0ef4\">\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=\"Email types - Sendbaze\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sendbaze treats transactional and marketing email differently. Say which one you are sending with the class field.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sendbaze-e4685166.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Email+types\u0026amp;description=Sendbaze+treats+transactional+and+marketing+email+differently.+Say+which+one+you+are+sending+with+the+class+field.\u0026amp;theme=e0a16bd18abb95d7926b3870\u0026amp;signature=adfa1f19863a184d27259ff886930c6cb9e9f4f5be83283e725f155d751c0ef4\">\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/sendbaze-e4685166/EerGTJNPOdlOkMSC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sendbaze\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4D7CFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sendbaze.com/get-started/email-types\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/get-started/email-types.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sendbaze.com/#organization\",\"name\":\"Sendbaze\",\"url\":\"https://docs.sendbaze.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sendbaze-e4685166/qQClJyyt7LIRtxE9/logo/light.svg?fit=max\u0026auto=format\u0026n=qQClJyyt7LIRtxE9\u0026q=85\u0026s=ad3774129b02e31998cf4d4b68faa6c4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sendbaze.com#website\",\"name\":\"Sendbaze\",\"url\":\"https://docs.sendbaze.com\",\"publisher\":{\"@id\":\"https://docs.sendbaze.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sendbaze.com/get-started/email-types#webpage\",\"url\":\"https://docs.sendbaze.com/get-started/email-types\",\"name\":\"Email types\",\"description\":\"Sendbaze treats transactional and marketing email differently. Say which one you are sending with the class field.\",\"dateModified\":\"2026-10-21T13:16:01.185Z\",\"isPartOf\":{\"@id\":\"https://docs.sendbaze.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sendbaze.com/get-started/email-types#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sendbaze.com/get-started/email-types#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get started\",\"item\":\"https://docs.sendbaze.com/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Email types\",\"item\":\"https://docs.sendbaze.com/get-started/email-types\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.sendbaze.com/get-started/email-types#article\",\"headline\":\"Email types\",\"name\":\"Email types\",\"description\":\"Sendbaze treats transactional and marketing email differently. Say which one you are sending with the class field.\",\"url\":\"https://docs.sendbaze.com/get-started/email-types\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sendbaze.com/get-started/email-types#webpage\"},\"dateModified\":\"2026-10-21T13:16:01.185Z\",\"publisher\":{\"@id\":\"https://docs.sendbaze.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sendbaze.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sendbaze\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Sendbaze","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://dashboard.sendbaze.com"},{"anchor":"Status","icon":"signal","href":"https://www.sendbaze.com/status"},{"anchor":"Support","icon":"envelope","href":"mailto:support@sendbaze.com"}]},"tabs":[{"tab":"Documentation","icon":"book-open","groups":[{"group":"Get started","pages":[{"title":"Introduction","icon":"hand-wave","href":"/introduction"},{"title":"Create an API key","href":"/get-started/create-api-key"},{"title":"Send before your domain is verified","href":"/get-started/test-without-a-domain"},{"title":"Add and verify a domain","description":"Live keys can only send email from a domain you have proved you own. Add it, publish five DNS records, and Sendbaze verifies it in minutes.","href":"/get-started/add-domain"},{"title":"Email types","href":"/get-started/email-types"},{"group":"Sending examples","pages":[{"title":"Send emails with Node.js","description":"Learn how to send your first email using the Sendbaze Node.js SDK.","href":"/get-started/send-with/nodejs"},{"title":"Send emails with Next.js","href":"/get-started/send-with/nextjs"},{"title":"Send emails with Python","href":"/get-started/send-with/python"},{"title":"Send emails with Ruby","href":"/get-started/send-with/ruby"},{"title":"Send emails with PHP","href":"/get-started/send-with/php"},{"title":"Send emails with Go","href":"/get-started/send-with/go"},{"title":"Send emails with cURL","href":"/get-started/send-with/curl"}]}]},{"group":"Learn","pages":[{"group":"Domains","pages":[{"title":"How verification works","href":"/learn/domains/verification"},{"title":"DNS guides","href":"/learn/domains/dns-guides"},{"title":"Subdomain or root domain","href":"/learn/domains/subdomains"}]},{"group":"Sending","pages":[{"title":"Sending email","href":"/learn/sending/emails"},{"title":"Templates","href":"/learn/sending/templates"},{"title":"React Email","href":"/learn/sending/react-email"},{"title":"Attachments and inline images","href":"/learn/sending/attachments"},{"title":"Batch sending","href":"/learn/sending/batch"},{"title":"Idempotency","href":"/learn/sending/idempotency"},{"title":"Test mode","href":"/learn/sending/test-mode"},{"title":"Tags and logs","href":"/learn/sending/tags-and-logs"}]},{"group":"Deliverability","pages":[{"title":"Suppressions","href":"/learn/deliverability/suppressions"},{"title":"Marketing email","href":"/learn/deliverability/marketing-email"},{"title":"Reputation and the complaint monitor","href":"/learn/deliverability/reputation"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/learn/webhooks/overview"},{"title":"Event types","href":"/learn/webhooks/events"},{"title":"Verify the signature","href":"/learn/webhooks/verify-signature"},{"title":"Retries, ordering and the delivery log","href":"/learn/webhooks/retries"}]},{"title":"SMS","href":"/learn/sms"}]},{"group":"Resources","pages":[{"title":"SDKs","href":"/resources/sdks"},{"title":"Errors","href":"/errors"},{"title":"Rate limits","href":"/resources/rate-limits"},{"title":"Plans and limits","href":"/resources/plans"},{"title":"Changelog","href":"/resources/changelog"}]}]},{"tab":"API reference","icon":"square-terminal","pages":[{"title":"API reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Email types - Sendbaze","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":[],"chunks":[]}