Instead of sending one email per HTTP request, Resend provides a batching endpoint that permits you to send up to 100 emails in a single API call.
Body Parameters
string
required
Sender email address.To include a friendly name, pass the sender as Name <email@example.com>, for example Acme <onboarding@example.dev>.
string | string[]
required
Recipient email address. For multiple addresses, send as an array of strings.
Max 50.
string
required
Email subject.
string | string[]
Bcc recipient email address. For multiple addresses, send as an array of
strings.
string | string[]
Cc recipient email address. For multiple addresses, send as an array of
strings.
string
The HTML version of the message.
string
The plain text version of the message.
If not provided, the HTML will be used to generate a plain text version. You
can opt out of this behavior by setting value to an empty string.
React.ReactNode
The React component used to write the message. Only available in the Node.js
SDK.
object
Custom headers to add to the email.
array
Custom data passed in key/value pairs.See examples.
Hide properties
string
required
The name of the email tag.It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).It can contain no more than 256 characters.
string
required
The value of the email tag.It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).It can contain no more than 256 characters.
object
To send using a template, provide a template object with:
id: the id or the alias of the published template
variables: an object with a key for each variable (if applicable)
If a template is provided, you cannot send html, text, or react in the payload, otherwise the API will return a validation error.When sending a template, the payload for from, subject, and reply_to take precedence over the template’s defaults for these fields. If the template does not provide a default value for these fields, you must provide them in the payload.
string
required
The id of the published email template. Required if template is provided. Only published templates can be used when sending emails.
object
Template variables object with key/value pairs.
variables: { CTA: 'Sign up now', CTA_LINK: 'https://example.com/signup'}
When sending the template, the HTML will be parsed. If all the variables used in the template were provided, the email will be sent. If not, the call will throw a validation error.See the errors reference for more details or learn more about templates.
Hide properties
string
required
The key of the variable.May only contain ASCII letters (a–z, A–Z), numbers (0–9), and underscores (_). The following variable names are reserved and cannot be used: FIRST_NAME, LAST_NAME, EMAIL, UNSUBSCRIBE_URL.It can contain no more than 50 characters.
string | number
required
The value of the variable.Observe these technical limitations:
string: maximum length of 2,000 characters
number: not greater than 2^53 - 1
Headers
string
Add an idempotency key to prevent duplicated emails.
When the request succeeds, each entry in data corresponds to the email at the same index in the batch payload (0-based). The first email in your request will be the first entry in data, and so on.
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Resend","description":"Resend is the email API for developers. The documentation covers the REST API, official SDKs, the CLI, the MCP server, webhooks, deliverability guides, and step-by-step quickstarts for every major language and framework.","colors":{"primary":"#000000","light":"#EBECED","dark":"#0A0C10"},"logo":{"light":"https://mintcdn.com/resend/w4S5Jr48MiquhhSH/logo-black.svg?fit=max\u0026auto=format\u0026n=w4S5Jr48MiquhhSH\u0026q=85\u0026s=630be7deea6ea94cc7fc4560ea60a5ac","dark":"https://mintcdn.com/resend/w4S5Jr48MiquhhSH/logo-white.svg?fit=max\u0026auto=format\u0026n=w4S5Jr48MiquhhSH\u0026q=85\u0026s=3843916235739ffb9cb1d24683221341","href":"https://resend.com"},"favicon":"https://mintcdn.com/resend/ABWmVTZIHGIFNTFD/favicon.png?fit=max\u0026auto=format\u0026n=ABWmVTZIHGIFNTFD\u0026q=85\u0026s=cdbec1c9eedb30488e99d94d84999c24","api":{"playground":{"display":"simple"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.resend.com"}},"background":{"color":{"dark":"#000000"}},"navbar":{"links":[{"href":"https://resend.com/login","label":"Sign In"}],"primary":{"type":"button","label":"Get Started","href":"https://resend.com/signup"}},"footer":{"socials":{"x":"https://x.com/resend","github":"https://github.com/resend","youtube":"https://www.youtube.com/@resendlabs","website":"https://resend.com/"}},"seo":{"indexing":"all"},"fonts":{"heading":{"family":"Inter","weight":700},"body":{"family":"Inter","weight":400}},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"github-light","dark":"vesper"}},"latex":false},"integrations":{"posthog":{"apiKey":"phc_AgEBpcQTRsBl3UgQX2U8XvimTlgdXG6YEhfvJl2cUfc","sessionRecording":false}},"contextual":{"options":["copy",{"title":"llms-full.txt","description":"View all docs as Markdown for LLMs","icon":"markdown","href":"https://resend.com/docs/llms-full.txt"},"add-mcp","cursor","vscode"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"resend","hasAudioNarration":false,"actualSubdomain":"resend","customDomains":["resend.com","resend-staging.com"],"gitSource":{"type":"github","owner":"resend","repo":"resend-docs","deployBranch":"main","contentDirectory":"","mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af79734a13f7a7bd76af880","clientVersion":"0.0.4142","searchFilterCounts":[{"language":"default","tag":"Documentation","count":172},{"language":"default","tag":"API Reference","count":146},{"language":"default","tag":"Learn","count":109},{"language":"default","tag":"Guides","count":103},{"language":"default","tag":"Get started","count":57},{"language":"default","tag":"Webhooks","count":54},{"language":"default","tag":"Sending examples","count":52},{"language":"default","tag":"Domains","count":38},{"language":"default","tag":"Events reference","count":37},{"language":"default","tag":"Audience","count":36}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html:not(.dark) ::selection{background-color:#0000001a}html.dark ::selection{background-color:#ffffff33}html:not(.dark) .codeblock-light .line-highlight:after,html:not(.dark) .codeblock-light .line-highlight{background:#00cc9937}html:not(.dark) .codeblock-light .line-highlight:after,html:not(.dark) .codeblock-light .line-highlight:before{background:#00cc9937}html.dark .line-highlight,html:not(.dark) .codeblock-dark .line-highlight{background:#00fff61d}html.dark .line-highlight:after,html.dark .line-highlight:before,html:not(.dark) .codeblock-dark .line-highlight:after,html:not(.dark) .codeblock-dark .line-highlight:before{background:#00fff61d}html.dark .line-highlight:before,html:not(.dark) .codeblock-dark .line-highlight:before{border-color:#4cd7b8}html:not(.dark) .codeblock-light .line-highlight:before{border-color:#55d799}#page-context-menu-button{padding-block:8px}#page-context-menu-button span{display:none}.nav-logo{width:80px;@media (max-width: 1024px){width:90px;padding-left:0.2rem}}@media (min-width: 1024px){#navbar .flex-1:has(>a .nav-logo){flex:none!important;width:15rem}#navbar .ustify-end:has(.nav-tabs){justify-content:space-between!important;margin-left:0!important}#navbar .flex:has(>.ustify-end){flex:1!important}#navbar .nav-tabs{white-space:nowrap}}#footer{a[href*='mintlify.com'] {\n display: none;\n }}svg[aria-roledescription=\"flowchart-v2\"]{--flow-node-fill: #fcfcfc;--flow-node-stroke: rgba(0, 0, 0, 0.12);--flow-text: #1c2024;--flow-edge: rgba(0, 0, 0, 0.35);.node rect {\n fill: var(--flow-node-fill) !important;\n stroke: var(--flow-node-stroke) !important;\n rx: 8px;\n ry: 8px;\n }\n\n .nodeLabel,\n .nodeLabel p {\n color: var(--flow-text) !important;\n }\n\n .flowchart-link {\n stroke: var(--flow-edge) !important;\n }\n\n .marker {\n fill: var(--flow-edge) !important;\n stroke: var(--flow-edge) !important;\n }}html.dark svg[aria-roledescription=\"flowchart-v2\"]{--flow-node-fill: #0a0a0a;--flow-node-stroke: rgba(255, 255, 255, 0.12);--flow-text: #ededed;--flow-edge: rgba(255, 255, 255, 0.4)}"}],"page":{"pagePath":"api-reference/emails/send-batch-emails","slug":"/api-reference/emails/send-batch-emails","pageMetadata":{"title":"Send Batch Emails","description":"Trigger up to 100 batch emails at once.","api":"POST /emails/batch","href":"/api-reference/emails/send-batch-emails"},"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: \"Trigger up to 100 batch emails at once.\"\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];const ResendParamField=({children,body,path,...props})=>{const{ParamField}=_provideComponents()||{};if(!ParamField)_missingMdxReference(`ParamField`,true);const[lang,setLang]=useState(()=>{return localStorage.getItem(`code`)||`\"Node.js\"`});useEffect(()=>{const onStorage=event=>{const key=event.detail.key;if(key===`code`){setLang(event.detail.value)}};document.addEventListener(`mintlify-localstorage`,onStorage);return()=>{document.removeEventListener(`mintlify-localstorage`,onStorage)}},[]);const toCamelCase=str=>typeof str===`string`?str.replace(/[_-](\\w)/g,(_,c)=>c.toUpperCase()):str;const resolvedBody=useMemo(()=>{const value=JSON.parse(lang);return value===`Node.js`?toCamelCase(body):body},[body,lang]);const resolvedPath=useMemo(()=>{const value=JSON.parse(lang);return value===`Node.js`?toCamelCase(path):path},[path,lang]);return _jsx(ParamField,{body:resolvedBody,path:resolvedPath,...props,children})};function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,Note,ParamField,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Instead of sending one email per HTTP request, Resend provides a batching endpoint that permits you to send up to 100 emails in a single API call.`}),`\n`,_jsx(Heading,{level:`2`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsxs(ParamField,{body:`from`,type:`string`,required:true,id:`param-from`,children:[_jsx(_components.p,{children:`Sender email address.`}),_jsxs(_components.p,{children:[`To include a friendly name, pass the sender as `,_jsx(_components.code,{children:`Name \u003cemail@example.com>`}),`, for example `,_jsx(_components.code,{children:`Acme \u003conboarding@example.dev>`}),`.`]})]}),`\n`,_jsx(ParamField,{body:`to`,type:`string | string[]`,required:true,id:`param-to`,children:_jsx(_components.p,{children:`Recipient email address. For multiple addresses, send as an array of strings.\nMax 50.`})}),`\n`,_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject`,children:_jsx(_components.p,{children:`Email subject.`})}),`\n`,_jsx(ParamField,{body:`bcc`,type:`string | string[]`,id:`param-bcc`,children:_jsx(_components.p,{children:`Bcc recipient email address. For multiple addresses, send as an array of\nstrings.`})}),`\n`,_jsx(ParamField,{body:`cc`,type:`string | string[]`,id:`param-cc`,children:_jsx(_components.p,{children:`Cc recipient email address. For multiple addresses, send as an array of\nstrings.`})}),`\n`,_jsx(_MdxComponentBoundary,{name:`ResendParamField`,children:_jsxs(ResendParamField,{body:`scheduled_at`,type:`string`,children:[_jsxs(_components.p,{children:[`Schedule email to be sent later. The date should be in natural language (e.g.: `,_jsx(_components.code,{children:`in 1 min`}),`) or ISO 8601 format (e.g:\n`,_jsx(_components.code,{children:`2026-08-05T11:52:01.858Z`}),`).`]}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/dashboard/emails/schedule-email`,children:`See examples`})})]})}),`\n`,_jsx(_MdxComponentBoundary,{name:`ResendParamField`,children:_jsx(ResendParamField,{body:`reply_to`,type:`string | string[]`,children:_jsx(_components.p,{children:`Reply-to email address. For multiple addresses, send as an array of strings.`})})}),`\n`,_jsx(ParamField,{body:`html`,type:`string`,id:`param-html`,children:_jsx(_components.p,{children:`The HTML version of the message.`})}),`\n`,_jsxs(ParamField,{body:`text`,type:`string`,id:`param-text`,children:[_jsx(_components.p,{children:`The plain text version of the message.`}),_jsx(Info,{children:_jsx(_components.p,{children:`If not provided, the HTML will be used to generate a plain text version. You\ncan opt out of this behavior by setting value to an empty string.`})})]}),`\n`,_jsx(ParamField,{body:`react`,type:`React.ReactNode`,id:`param-react`,children:_jsxs(_components.p,{children:[`The React component used to write the message. `,_jsx(_components.em,{children:`Only available in the Node.js\nSDK.`})]})}),`\n`,_jsx(ParamField,{body:`headers`,type:`object`,id:`param-headers`,children:_jsx(_components.p,{children:`Custom headers to add to the email.`})}),`\n`,_jsx(_MdxComponentBoundary,{name:`ResendParamField`,children:_jsxs(ResendParamField,{body:`topic_id`,type:`string`,children:[_jsx(_components.p,{children:`The topic ID to receive the email.`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`If the recipient is a contact and has opted-in to the topic, the email is sent.`}),`\n`,_jsx(_components.li,{children:`If the recipient is a contact and has opted-out of the topic, the email is not sent and will be marked as failed.`}),`\n`,_jsxs(_components.li,{children:[`If the recipient is not a contact, the email is sent if the topic default subscription value is set to `,_jsx(_components.code,{children:`opt-in`}),`.`]}),`\n`]}),_jsx(Note,{children:`Each email address (to, cc, bcc) is checked and handled separately.`})]})}),`\n`,_jsxs(ParamField,{body:`tags`,type:`array`,id:`param-tags`,children:[_jsx(_components.p,{children:`Custom data passed in key/value pairs.`}),_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/dashboard/emails/tags`,children:`See examples`}),`.`]}),_jsxs(Expandable,{defaultOpen:true,title:`properties`,children:[_jsxs(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:[_jsx(_components.p,{children:`The name of the email tag.`}),_jsx(_components.p,{children:`It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).`}),_jsx(_components.p,{children:`It can contain no more than 256 characters.`})]}),_jsxs(ParamField,{body:`value`,type:`string`,required:true,id:`param-value`,children:[_jsx(_components.p,{children:`The value of the email tag.`}),_jsx(_components.p,{children:`It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).`}),_jsx(_components.p,{children:`It can contain no more than 256 characters.`})]})]})]}),`\n`,_jsxs(ParamField,{body:`template`,type:`object`,id:`param-template`,children:[_jsxs(_components.p,{children:[`To send using a template, provide a `,_jsx(_components.code,{children:`template`}),` object with:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`id`}),`: the id `,_jsx(_components.em,{children:`or`}),` the alias of the published template`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`variables`}),`: an object with a key for each variable (if applicable)`]}),`\n`]}),_jsxs(Info,{children:[_jsxs(_components.p,{children:[`If a `,_jsx(_components.code,{children:`template`}),` is provided, you cannot send `,_jsx(_components.code,{children:`html`}),`, `,_jsx(_components.code,{children:`text`}),`, or `,_jsx(_components.code,{children:`react`}),` in the payload, otherwise the API will return a validation error.`]}),_jsxs(_components.p,{children:[`When sending a template, the payload for `,_jsx(_components.code,{children:`from`}),`, `,_jsx(_components.code,{children:`subject`}),`, and `,_jsx(_components.code,{children:`reply_to`}),` take precedence over the template’s defaults for these fields. If the template does not provide a default value for these fields, you must provide them in the payload.`]})]})]}),`\n`,_jsx(ParamField,{body:`id`,type:`string`,required:true,id:`param-id`,children:_jsxs(_components.p,{children:[`The id of the published email template. Required if `,_jsx(_components.code,{children:`template`}),` is provided. Only published templates can be used when sending emails.`]})}),`\n`,_jsxs(ParamField,{body:`variables`,type:`object`,id:`param-variables`,children:[_jsx(_components.p,{children:`Template variables object with key/value pairs.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`variables`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`\tCTA`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'Sign up now'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`\tCTA_LINK`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'https://example.com/signup'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:`When sending the template, the HTML will be parsed. If all the variables used in the template were provided, the email will be sent. If not, the call will throw a validation error.`}),_jsxs(_components.p,{children:[`See the `,_jsx(_components.a,{href:`/api-reference/errors`,children:`errors reference`}),` for more details or `,_jsx(_components.a,{href:`/dashboard/templates/introduction`,children:`learn more about templates`}),`.`]}),_jsxs(Expandable,{defaultOpen:true,title:`properties`,children:[_jsxs(ParamField,{body:`key`,type:`string`,required:true,id:`param-key`,children:[_jsx(_components.p,{children:`The key of the variable.`}),_jsxs(_components.p,{children:[`May only contain ASCII letters (a–z, A–Z), numbers (0–9), and underscores (_). The following variable names are reserved and cannot be used: `,_jsx(_components.code,{children:`FIRST_NAME`}),`, `,_jsx(_components.code,{children:`LAST_NAME`}),`, `,_jsx(_components.code,{children:`EMAIL`}),`, `,_jsx(_components.code,{children:`UNSUBSCRIBE_URL`}),`.`]}),_jsx(_components.p,{children:`It can contain no more than 50 characters.`})]}),_jsxs(ParamField,{body:`value`,type:`string | number`,required:true,id:`param-value-1`,children:[_jsx(_components.p,{children:`The value of the variable.`}),_jsx(_components.p,{children:`Observe these technical limitations:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`string`}),`: maximum length of 2,000 characters`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`number`}),`: not greater than 2^53 - 1`]}),`\n`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsxs(ParamField,{header:`Idempotency-Key`,type:`string`,id:`param-idempotency-key`,children:[_jsx(_components.p,{children:`Add an idempotency key to prevent duplicated emails.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Should be `,_jsx(_components.strong,{children:`unique per API request`})]}),`\n`,_jsxs(_components.li,{children:[`Idempotency keys expire after `,_jsx(_components.strong,{children:`24 hours`})]}),`\n`,_jsxs(_components.li,{children:[`Have a maximum length of `,_jsx(_components.strong,{children:`256 characters`})]}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/dashboard/emails/idempotency-keys`,children:`Learn more about idempotency keys →`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`limitations`,children:`Limitations`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`attachments`}),` field is not supported yet.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response-format`,children:`Response format`}),`\n`,_jsxs(_components.p,{children:[`When the request succeeds, each entry in `,_jsx(_components.code,{children:`data`}),` corresponds to the email at the same index in the batch payload (0-based). The first email in your request will be the first entry in `,_jsx(_components.code,{children:`data`}),`, and so on.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{ResendParamField,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":{"theme":{"light":"github-light","dark":"vesper"}},"config":{},"pageMetadata":{"title":"Send Batch Emails","description":"Trigger up to 100 batch emails at once.","api":"POST /emails/batch","href":"/api-reference/emails/send-batch-emails"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const ResendParamField=()=>null;function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,Note,ParamField,RequestExample,ResponseExample,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Instead of sending one email per HTTP request, Resend provides a batching endpoint that permits you to send up to 100 emails in a single API call.`}),`\n`,_jsx(Heading,{level:`2`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsxs(ParamField,{body:`from`,type:`string`,required:true,id:`param-from`,children:[_jsx(_components.p,{children:`Sender email address.`}),_jsxs(_components.p,{children:[`To include a friendly name, pass the sender as `,_jsx(_components.code,{children:`Name \u003cemail@example.com>`}),`, for example `,_jsx(_components.code,{children:`Acme \u003conboarding@example.dev>`}),`.`]})]}),`\n`,_jsx(ParamField,{body:`to`,type:`string | string[]`,required:true,id:`param-to`,children:_jsx(_components.p,{children:`Recipient email address. For multiple addresses, send as an array of strings.\nMax 50.`})}),`\n`,_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject`,children:_jsx(_components.p,{children:`Email subject.`})}),`\n`,_jsx(ParamField,{body:`bcc`,type:`string | string[]`,id:`param-bcc`,children:_jsx(_components.p,{children:`Bcc recipient email address. For multiple addresses, send as an array of\nstrings.`})}),`\n`,_jsx(ParamField,{body:`cc`,type:`string | string[]`,id:`param-cc`,children:_jsx(_components.p,{children:`Cc recipient email address. For multiple addresses, send as an array of\nstrings.`})}),`\n`,_jsx(_MdxComponentBoundary,{name:`ResendParamField`,children:_jsxs(ResendParamField,{body:`scheduled_at`,type:`string`,children:[_jsxs(_components.p,{children:[`Schedule email to be sent later. The date should be in natural language (e.g.: `,_jsx(_components.code,{children:`in 1 min`}),`) or ISO 8601 format (e.g:\n`,_jsx(_components.code,{children:`2026-08-05T11:52:01.858Z`}),`).`]}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/dashboard/emails/schedule-email`,children:`See examples`})})]})}),`\n`,_jsx(_MdxComponentBoundary,{name:`ResendParamField`,children:_jsx(ResendParamField,{body:`reply_to`,type:`string | string[]`,children:_jsx(_components.p,{children:`Reply-to email address. For multiple addresses, send as an array of strings.`})})}),`\n`,_jsx(ParamField,{body:`html`,type:`string`,id:`param-html`,children:_jsx(_components.p,{children:`The HTML version of the message.`})}),`\n`,_jsxs(ParamField,{body:`text`,type:`string`,id:`param-text`,children:[_jsx(_components.p,{children:`The plain text version of the message.`}),_jsx(Info,{children:_jsx(_components.p,{children:`If not provided, the HTML will be used to generate a plain text version. You\ncan opt out of this behavior by setting value to an empty string.`})})]}),`\n`,_jsx(ParamField,{body:`react`,type:`React.ReactNode`,id:`param-react`,children:_jsxs(_components.p,{children:[`The React component used to write the message. `,_jsx(_components.em,{children:`Only available in the Node.js\nSDK.`})]})}),`\n`,_jsx(ParamField,{body:`headers`,type:`object`,id:`param-headers`,children:_jsx(_components.p,{children:`Custom headers to add to the email.`})}),`\n`,_jsx(_MdxComponentBoundary,{name:`ResendParamField`,children:_jsxs(ResendParamField,{body:`topic_id`,type:`string`,children:[_jsx(_components.p,{children:`The topic ID to receive the email.`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`If the recipient is a contact and has opted-in to the topic, the email is sent.`}),`\n`,_jsx(_components.li,{children:`If the recipient is a contact and has opted-out of the topic, the email is not sent and will be marked as failed.`}),`\n`,_jsxs(_components.li,{children:[`If the recipient is not a contact, the email is sent if the topic default subscription value is set to `,_jsx(_components.code,{children:`opt-in`}),`.`]}),`\n`]}),_jsx(Note,{children:`Each email address (to, cc, bcc) is checked and handled separately.`})]})}),`\n`,_jsxs(ParamField,{body:`tags`,type:`array`,id:`param-tags`,children:[_jsx(_components.p,{children:`Custom data passed in key/value pairs.`}),_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/dashboard/emails/tags`,children:`See examples`}),`.`]}),_jsxs(Expandable,{defaultOpen:true,title:`properties`,children:[_jsxs(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:[_jsx(_components.p,{children:`The name of the email tag.`}),_jsx(_components.p,{children:`It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).`}),_jsx(_components.p,{children:`It can contain no more than 256 characters.`})]}),_jsxs(ParamField,{body:`value`,type:`string`,required:true,id:`param-value`,children:[_jsx(_components.p,{children:`The value of the email tag.`}),_jsx(_components.p,{children:`It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).`}),_jsx(_components.p,{children:`It can contain no more than 256 characters.`})]})]})]}),`\n`,_jsxs(ParamField,{body:`template`,type:`object`,id:`param-template`,children:[_jsxs(_components.p,{children:[`To send using a template, provide a `,_jsx(_components.code,{children:`template`}),` object with:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`id`}),`: the id `,_jsx(_components.em,{children:`or`}),` the alias of the published template`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`variables`}),`: an object with a key for each variable (if applicable)`]}),`\n`]}),_jsxs(Info,{children:[_jsxs(_components.p,{children:[`If a `,_jsx(_components.code,{children:`template`}),` is provided, you cannot send `,_jsx(_components.code,{children:`html`}),`, `,_jsx(_components.code,{children:`text`}),`, or `,_jsx(_components.code,{children:`react`}),` in the payload, otherwise the API will return a validation error.`]}),_jsxs(_components.p,{children:[`When sending a template, the payload for `,_jsx(_components.code,{children:`from`}),`, `,_jsx(_components.code,{children:`subject`}),`, and `,_jsx(_components.code,{children:`reply_to`}),` take precedence over the template’s defaults for these fields. If the template does not provide a default value for these fields, you must provide them in the payload.`]})]})]}),`\n`,_jsx(ParamField,{body:`id`,type:`string`,required:true,id:`param-id`,children:_jsxs(_components.p,{children:[`The id of the published email template. Required if `,_jsx(_components.code,{children:`template`}),` is provided. Only published templates can be used when sending emails.`]})}),`\n`,_jsxs(ParamField,{body:`variables`,type:`object`,id:`param-variables`,children:[_jsx(_components.p,{children:`Template variables object with key/value pairs.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`variables`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`\tCTA`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'Sign up now'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`\tCTA_LINK`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'https://example.com/signup'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:`When sending the template, the HTML will be parsed. If all the variables used in the template were provided, the email will be sent. If not, the call will throw a validation error.`}),_jsxs(_components.p,{children:[`See the `,_jsx(_components.a,{href:`/api-reference/errors`,children:`errors reference`}),` for more details or `,_jsx(_components.a,{href:`/dashboard/templates/introduction`,children:`learn more about templates`}),`.`]}),_jsxs(Expandable,{defaultOpen:true,title:`properties`,children:[_jsxs(ParamField,{body:`key`,type:`string`,required:true,id:`param-key`,children:[_jsx(_components.p,{children:`The key of the variable.`}),_jsxs(_components.p,{children:[`May only contain ASCII letters (a–z, A–Z), numbers (0–9), and underscores (_). The following variable names are reserved and cannot be used: `,_jsx(_components.code,{children:`FIRST_NAME`}),`, `,_jsx(_components.code,{children:`LAST_NAME`}),`, `,_jsx(_components.code,{children:`EMAIL`}),`, `,_jsx(_components.code,{children:`UNSUBSCRIBE_URL`}),`.`]}),_jsx(_components.p,{children:`It can contain no more than 50 characters.`})]}),_jsxs(ParamField,{body:`value`,type:`string | number`,required:true,id:`param-value-1`,children:[_jsx(_components.p,{children:`The value of the variable.`}),_jsx(_components.p,{children:`Observe these technical limitations:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`string`}),`: maximum length of 2,000 characters`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`number`}),`: not greater than 2^53 - 1`]}),`\n`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsxs(ParamField,{header:`Idempotency-Key`,type:`string`,id:`param-idempotency-key`,children:[_jsx(_components.p,{children:`Add an idempotency key to prevent duplicated emails.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Should be `,_jsx(_components.strong,{children:`unique per API request`})]}),`\n`,_jsxs(_components.li,{children:[`Idempotency keys expire after `,_jsx(_components.strong,{children:`24 hours`})]}),`\n`,_jsxs(_components.li,{children:[`Have a maximum length of `,_jsx(_components.strong,{children:`256 characters`})]}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/dashboard/emails/idempotency-keys`,children:`Learn more about idempotency keys →`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`limitations`,children:`Limitations`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`attachments`}),` field is not supported yet.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response-format`,children:`Response format`}),`\n`,_jsxs(_components.p,{children:[`When the request succeeds, each entry in `,_jsx(_components.code,{children:`data`}),` corresponds to the email at the same index in the batch payload (0-based). The first email in your request will be the first entry in `,_jsx(_components.code,{children:`data`}),`, and so on.`]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`18`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` { Resend } `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`from`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'resend'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`const`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:` resend`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` new`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'re_xxxxxxxxx'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`const`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` { `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`data`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`error`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` } `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` await`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend.batch.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`send`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`([`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` from: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'Acme \u003conboarding@resend.dev>'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` to: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'foo@gmail.com'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` subject: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'hello world'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` html: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'\u003ch1>it works!\u003c/h1>'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` from: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'Acme \u003conboarding@resend.dev>'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` to: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'bar@outlook.com'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` subject: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'world hello'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` html: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'\u003cp>it works!\u003c/p>'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`]);`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`PHP`,numberOfLines:`16`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`$resend `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` Resend`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`client`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'re_xxxxxxxxx'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`$resend`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`->`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`batch`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`->`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`send`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`([`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` [`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'from'`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =>`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'Acme \u003conboarding@resend.dev>'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'to'`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =>`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'foo@gmail.com'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'subject'`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =>`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'hello world'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'html'`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =>`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` '\u003ch1>it works!\u003c/h1>'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` [`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'from'`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =>`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'Acme \u003conboarding@resend.dev>'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'to'`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =>`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'bar@outlook.com'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'subject'`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =>`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'world hello'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'html'`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =>`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` '\u003cp>it works!\u003c/p>'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`]);`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`21`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`21`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`from`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` typing `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` List`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`resend.api_key `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"re_xxxxxxxxx\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`params: List[resend.Emails.SendParams] `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Acme \u003conboarding@resend.dev>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"foo@gmail.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"subject\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"hello world\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"html\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"\u003ch1>it works!\u003c/h1>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Acme \u003conboarding@resend.dev>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"bar@outlook.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"subject\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"world hello\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"html\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"\u003cp>it works!\u003c/p>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`]`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`resend.Batch.send(params)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Ruby`,numberOfLines:`20`,language:`ruby`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`ruby`,children:_jsxs(_components.code,{language:`ruby`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`require`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"resend\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`api_key`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 're_xxxxxxxxx'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFF`},children:`params`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Acme \u003conboarding@resend.dev>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"foo@gmail.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"subject\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"hello world\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"html\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"\u003ch1>it works!\u003c/h1>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Acme \u003conboarding@resend.dev>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"bar@outlook.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"subject\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"world hello\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"html\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"\u003cp>it works!\u003c/p>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`]`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`::`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`Batch`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`send`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(params)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Go`,numberOfLines:`37`,language:`go`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`go`,children:_jsxs(_components.code,{language:`go`,numberOfLines:`37`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`package`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` main`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\t\"`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`context`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\t\"`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`fmt`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\t\"`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`github.com/resend/resend-go/v4`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`func`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` main`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`() {`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` ctx `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`:=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` context.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`TODO`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` client `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`:=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`NewClient`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"re_xxxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` var`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` batchEmails `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` []`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`*`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`SendEmailRequest`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` From: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Acme \u003conboarding@resend.dev>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` To: []`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`string`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"foo@gmail.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` Subject: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"hello world\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` Html: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"\u003ch1>it works!\u003c/h1>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` From: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Acme \u003conboarding@resend.dev>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` To: []`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`string`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"bar@outlook.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` Subject: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"world hello\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` Html: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"\u003cp>it works!\u003c/p>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` sent, err `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`:=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` client.Batch.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`SendWithContext`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(ctx, batchEmails)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` if`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` err `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`!=`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:` nil`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` panic`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(err)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` fmt.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Println`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(sent.Data)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Rust`,numberOfLines:`26`,language:`rust`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`rust`,children:_jsxs(_components.code,{language:`rust`,numberOfLines:`26`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`use`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` resend_rs`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`types`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`CreateEmailBaseOptions`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`use`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` resend_rs`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Result`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`};`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`#[tokio`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`main]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`async`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:` fn`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` main`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`() `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`->`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Result`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\u003c()> {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` let`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Resend`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`new`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"re_xxxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` let`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` emails `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` vec!`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`[`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` CreateEmailBaseOptions`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`new`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"Acme \u003conboarding@resend.dev>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` vec!`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`[`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"foo@gmail.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"hello world\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` )`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`with_html`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"\u003ch1>it works!\u003c/h1>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` CreateEmailBaseOptions`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`::`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`new`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"Acme \u003conboarding@resend.dev>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` vec!`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`[`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"bar@outlook.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"world hello\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` )`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`with_html`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"\u003cp>it works!\u003c/p>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` ];`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` let`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` _emails `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`.`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`batch`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`send`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(emails)`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`.await?`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Ok`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(())`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Java`,numberOfLines:`29`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`29`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` com.resend.Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` com.resend.core.exception.ResendException`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` com.resend.services.batch.model.CreateBatchEmailsResponse`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` com.resend.services.emails.model.CreateEmailOptions`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` java.util.Arrays`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`public`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` class`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Main`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` public`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` static`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` void`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` main`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`String`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`[] `}),_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFF`},children:`args`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`) `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`throws`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` ResendException`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` new`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"re_xxxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` CreateEmailOptions`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` firstEmail `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` CreateEmailOptions.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`builder`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`from`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Acme \u003conboarding@resend.dev>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`to`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"foo@gmail.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`subject`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"hello world\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`html`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"\u003ch1>it works!\u003c/h1>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`build`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` CreateEmailOptions`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` secondEmail `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` CreateEmailOptions.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`builder`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`from`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Acme \u003conboarding@resend.dev>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`to`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"bar@outlook.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`subject`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"world hello\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`html`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"\u003cp>it works!\u003c/p>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`build`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` CreateBatchEmailsResponse`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` data `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`batch`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`().`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`send`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` Arrays.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`asList`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(firstEmail, secondEmail)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` );`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`.NET`,numberOfLines:`22`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`22`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`using`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` Resend`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`IResend`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` resend`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` ResendClient.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Create`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`( `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"re_xxxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` ); `}),_jsx(_components.span,{style:{color:`#6A737D`,\"--shiki-dark\":`#8B8B8B94`},children:`// Or from DI`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`var`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` mail1`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` new`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` EmailMessage`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` From `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"Acme \u003conboarding@resend.dev>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` To `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"foo@gmail.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` Subject `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"hello world\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` HtmlBody `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"\u003cp>it works!\u003c/p>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`};`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`var`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` mail2`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` new`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` EmailMessage`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` From `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"Acme \u003conboarding@resend.dev>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` To `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"bar@outlook.com\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` Subject `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"hello world\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` HtmlBody `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"\u003cp>it works!\u003c/p>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`};`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`var`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` resp`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` await`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` resend.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`EmailBatchAsync`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`( [ mail1, mail2 ] );`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`Console.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`WriteLine`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`( `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Nr Emails={0}\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, resp.Content.Count );`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`17`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`curl`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -X`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` POST`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'https://api.resend.com/emails/batch'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'Authorization: Bearer re_xxxxxxxxx'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -d`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` $'[`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"from\": \"Acme \u003conboarding@resend.dev>\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"to\": [\"foo@gmail.com\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"subject\": \"hello world\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"html\": \"\u003ch1>it works!\u003c/h1>\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"from\": \"Acme \u003conboarding@resend.dev>\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"to\": [\"bar@outlook.com\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"subject\": \"world hello\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"html\": \"\u003cp>it works!\u003c/p>\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`]'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`CLI`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`resend`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` emails`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` batch`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` --file`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` ./path/to/emails.json`})]}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"ae2014de-c168-4c61-8267-70d2662a1ce1\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"faccb7a5-8a28-4e9a-ac64-8da1cc3bc1cb\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{ResendParamField,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":{"theme":{"light":"github-light","dark":"vesper"}},"config":{},"pageMetadata":{"title":"Send Batch Emails","description":"Trigger up to 100 batch emails at once.","api":"POST /emails/batch","href":"/api-reference/emails/send-batch-emails"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Body Parameters","slug":"body-parameters","depth":2,"children":[]},{"title":"Headers","slug":"headers","depth":2,"children":[]},{"title":"Limitations","slug":"limitations","depth":2,"children":[]},{"title":"Response format","slug":"response-format","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Node.js","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"typescript\">\u003ccode language=\"typescript\" numberOfLines=\"18\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> { Resend } \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">from\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'resend'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">const\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\"> resend\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> new\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'re_xxxxxxxxx'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">const\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> { \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">data\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">error\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> } \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> await\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend.batch.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">send\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">([\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> from: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'Acme \u0026#x3C;onboarding@resend.dev>'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> to: [\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'foo@gmail.com'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> subject: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'hello world'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> html: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'\u0026#x3C;h1>it works!\u0026#x3C;/h1>'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> from: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'Acme \u0026#x3C;onboarding@resend.dev>'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> to: [\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'bar@outlook.com'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> subject: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'world hello'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> html: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'\u0026#x3C;p>it works!\u0026#x3C;/p>'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">]);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"PHP","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"php\">\u003ccode language=\"php\" numberOfLines=\"16\">\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">$resend \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> Resend\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">client\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'re_xxxxxxxxx'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">$resend\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">->\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">batch\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">->\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">send\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">([\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'from'\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =>\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'Acme \u0026#x3C;onboarding@resend.dev>'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'to'\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =>\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> [\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'foo@gmail.com'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'subject'\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =>\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'hello world'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'html'\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =>\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> '\u0026#x3C;h1>it works!\u0026#x3C;/h1>'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'from'\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =>\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'Acme \u0026#x3C;onboarding@resend.dev>'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'to'\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =>\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> [\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'bar@outlook.com'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'subject'\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =>\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'world hello'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'html'\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =>\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> '\u0026#x3C;p>it works!\u0026#x3C;/p>'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">]);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"21\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">from\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> typing \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> List\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">resend.api_key \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"re_xxxxxxxxx\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">params: List[resend.Emails.SendParams] \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"from\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Acme \u0026#x3C;onboarding@resend.dev>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"to\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: [\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"foo@gmail.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"subject\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"hello world\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"html\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u0026#x3C;h1>it works!\u0026#x3C;/h1>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"from\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Acme \u0026#x3C;onboarding@resend.dev>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"to\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: [\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"bar@outlook.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"subject\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"world hello\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"html\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u0026#x3C;p>it works!\u0026#x3C;/p>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">resend.Batch.send(params)\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Ruby","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"ruby\">\u003ccode language=\"ruby\" numberOfLines=\"20\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">require\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"resend\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">api_key\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 're_xxxxxxxxx'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#E36209;--shiki-dark:#FFF\">params\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"from\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Acme \u0026#x3C;onboarding@resend.dev>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"to\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: [\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"foo@gmail.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"subject\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"hello world\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"html\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u0026#x3C;h1>it works!\u0026#x3C;/h1>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"from\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Acme \u0026#x3C;onboarding@resend.dev>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"to\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: [\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"bar@outlook.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"subject\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"world hello\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"html\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u0026#x3C;p>it works!\u0026#x3C;/p>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">::\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">Batch\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">send\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(params)\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Go","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"go\">\u003ccode language=\"go\" numberOfLines=\"37\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">package\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> main\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> (\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\t\"\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">context\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\t\"\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">fmt\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\t\"\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">github.com/resend/resend-go/v4\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">func\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> main\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">() {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> ctx \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">:=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> context.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">TODO\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> client \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">:=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">NewClient\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"re_xxxxxxxxx\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> var\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> batchEmails \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> []\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">*\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">SendEmailRequest\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> From: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Acme \u0026#x3C;onboarding@resend.dev>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> To: []\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">string\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">{\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"foo@gmail.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> Subject: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"hello world\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> Html: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u0026#x3C;h1>it works!\u0026#x3C;/h1>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> From: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Acme \u0026#x3C;onboarding@resend.dev>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> To: []\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">string\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">{\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"bar@outlook.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> Subject: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"world hello\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> Html: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u0026#x3C;p>it works!\u0026#x3C;/p>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> sent, err \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">:=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> client.Batch.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">SendWithContext\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(ctx, batchEmails)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> if\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> err \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">!=\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\"> nil\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> panic\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(err)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> fmt.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Println\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(sent.Data)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Rust","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"rust\">\u003ccode language=\"rust\" numberOfLines=\"26\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">use\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> resend_rs\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">types\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">CreateEmailBaseOptions\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">use\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> resend_rs\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">{\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Result\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">};\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">#[tokio\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">main]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">async\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\"> fn\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> main\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">() \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">->\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Result\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\u0026#x3C;()> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> let\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Resend\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">new\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"re_xxxxxxxxx\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> let\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> emails \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> vec!\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">[\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> CreateEmailBaseOptions\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">new\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"Acme \u0026#x3C;onboarding@resend.dev>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> vec!\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">[\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"foo@gmail.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"hello world\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> )\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">with_html\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u0026#x3C;h1>it works!\u0026#x3C;/h1>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">),\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> CreateEmailBaseOptions\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">::\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">new\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"Acme \u0026#x3C;onboarding@resend.dev>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> vec!\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">[\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"bar@outlook.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"world hello\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> )\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">with_html\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u0026#x3C;p>it works!\u0026#x3C;/p>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">),\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> ];\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> let\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> _emails \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">.\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">batch\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">send\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(emails)\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">.await?\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Ok\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(())\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Java","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"java\">\u003ccode language=\"java\" numberOfLines=\"29\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> com.resend.Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> com.resend.core.exception.ResendException\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> com.resend.services.batch.model.CreateBatchEmailsResponse\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> com.resend.services.emails.model.CreateEmailOptions\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> java.util.Arrays\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">public\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> class\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Main\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> public\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> static\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> void\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> main\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">String\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">[] \u003c/span>\u003cspan style=\"color:#E36209;--shiki-dark:#FFF\">args\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">) \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">throws\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> ResendException\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> new\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"re_xxxxxxxxx\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> CreateEmailOptions\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> firstEmail \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> CreateEmailOptions.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">builder\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">from\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Acme \u0026#x3C;onboarding@resend.dev>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">to\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"foo@gmail.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">subject\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"hello world\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">html\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u0026#x3C;h1>it works!\u0026#x3C;/h1>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">build\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> CreateEmailOptions\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> secondEmail \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> CreateEmailOptions.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">builder\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">from\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Acme \u0026#x3C;onboarding@resend.dev>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">to\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"bar@outlook.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">subject\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"world hello\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">html\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u0026#x3C;p>it works!\u0026#x3C;/p>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">build\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> CreateBatchEmailsResponse\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> data \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">batch\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">().\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">send\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> Arrays.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">asList\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(firstEmail, secondEmail)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> );\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":".NET","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"csharp\">\u003ccode language=\"csharp\" numberOfLines=\"22\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">using\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> Resend\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">IResend\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> resend\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> ResendClient.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Create\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">( \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"re_xxxxxxxxx\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> ); \u003c/span>\u003cspan style=\"color:#6A737D;--shiki-dark:#8B8B8B94\">// Or from DI\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">var\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> mail1\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> new\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> EmailMessage\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> From \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"Acme \u0026#x3C;onboarding@resend.dev>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> To \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"foo@gmail.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> Subject \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"hello world\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> HtmlBody \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"\u0026#x3C;p>it works!\u0026#x3C;/p>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">};\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">var\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> mail2\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> new\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> EmailMessage\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> From \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"Acme \u0026#x3C;onboarding@resend.dev>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> To \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"bar@outlook.com\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> Subject \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"hello world\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> HtmlBody \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"\u0026#x3C;p>it works!\u0026#x3C;/p>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">};\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">var\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> resp\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> await\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> resend.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">EmailBatchAsync\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">( [ mail1, mail2 ] );\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">Console.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">WriteLine\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">( \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Nr Emails={0}\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, resp.Content.Count );\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"17\">\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">curl\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> -X\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> POST\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'https://api.resend.com/emails/batch'\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> -H\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'Authorization: Bearer re_xxxxxxxxx'\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> -H\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> -d\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> $'[\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"from\": \"Acme \u0026#x3C;onboarding@resend.dev>\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"to\": [\"foo@gmail.com\"],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"subject\": \"hello world\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"html\": \"\u0026#x3C;h1>it works!\u0026#x3C;/h1>\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"from\": \"Acme \u0026#x3C;onboarding@resend.dev>\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"to\": [\"bar@outlook.com\"],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"subject\": \"world hello\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"html\": \"\u0026#x3C;p>it works!\u0026#x3C;/p>\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">]'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"CLI","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"1\">\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">resend\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> emails\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> batch\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> --file\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> ./path/to/emails.json\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"data\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"id\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"ae2014de-c168-4c61-8267-70d2662a1ce1\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"id\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"faccb7a5-8a28-4e9a-ac64-8da1cc3bc1cb\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Send Batch Emails","path":"/emails/batch","servers":[{"url":"https://api.resend.com"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{"Idempotency-Key":{"schema":[{"type":"string","description":"Add an idempotency key to prevent duplicated emails. Should be unique per API request Idempotency keys expire after 24 hours Have a maximum length of 256 characters Learn more about idempotency keys →"}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"from":[{"type":"string","description":"Sender email address. To include a friendly name, pass the sender as `Name \u003cemail@example.com>` , for example `Acme \u003conboarding@example.dev>` .","required":true}],"to":[{"type":"array","items":[{"type":"string"}],"description":"Recipient email address. For multiple addresses, send as an array of strings. Max 50.","required":true}],"subject":[{"type":"string","description":"Email subject.","required":true}],"bcc":[{"type":"array","items":[{"type":"string"}],"description":"Bcc recipient email address. For multiple addresses, send as an array of strings."}],"cc":[{"type":"array","items":[{"type":"string"}],"description":"Cc recipient email address. For multiple addresses, send as an array of strings."}],"html":[{"type":"string","description":"The HTML version of the message."}],"text":[{"type":"string","description":"The plain text version of the message."}],"react":[{"type":"object","properties":{},"description":"The React component used to write the message. Only available in the Node.js SDK."}],"headers":[{"type":"object","properties":{},"description":"Custom headers to add to the email."}],"tags":[{"type":"array","items":[{"type":"object","properties":{"name":[{"type":"string","description":"The name of the email tag. It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-). It can contain no more than 256 characters.","required":true}],"value":[{"type":"string","description":"The value of the email tag. It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-). It can contain no more than 256 characters.","required":true}]}}],"description":"Custom data passed in key/value pairs. See examples ."}],"template":[{"type":"object","properties":{},"description":"To send using a template, provide a `template` object with: `id` : the id or the alias of the published template `variables` : an object with a key for each variable (if applicable)"}],"id":[{"type":"string","description":"The id of the published email template. Required if `template` is provided. Only published templates can be used when sending emails.","required":true}],"variables":[{"type":"object","properties":{"key":[{"type":"string","description":"The key of the variable. May only contain ASCII letters (a–z, A–Z), numbers (0–9), and underscores (_). The following variable names are reserved and cannot be used: `FIRST_NAME` , `LAST_NAME` , `EMAIL` , `UNSUBSCRIBE_URL` . It can contain no more than 50 characters.","required":true}],"value":[{"type":"object","properties":{},"description":"The value of the variable. Observe these technical limitations: `string` : maximum length of 2,000 characters `number` : not greater than 2^53 - 1","required":true}]},"description":"Template variables object with key/value pairs. When sending the template, the HTML will be parsed. If all the variables used in the template were provided, the email will be sent. If not, the call will throw a validation error. See the errors reference for more details or learn more about templates ."}]}}],"examples":{"example":{"value":{"from":"\u003cstring>","to":["\u003cstring>"],"subject":"\u003cstring>","bcc":["\u003cstring>"],"cc":["\u003cstring>"],"html":"\u003cstring>","text":"\u003cstring>","react":{},"headers":{},"tags":[{"name":"\u003cstring>","value":"\u003cstring>"}],"template":{},"id":"\u003cstring>","variables":{"key":"\u003cstring>","value":{}}}}}}}},"response":{},"deprecated":false}},"jsLinks":["/docs/_mintlify/custom/resend/34a103d44dce6f34/resend.js","/docs/_mintlify/custom/resend/b0fac65f85cb29e7/reo.dev.js"],"subdomain":"resend","siteName":"Resend","title":"Send Batch Emails - Resend","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-25T17:17:31.779Z","originalFileLocation":"api-reference/emails/send-batch-emails.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=\"system\"}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=\"Trigger up to 100 batch emails at once.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Resend\">\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/resend/nAzNk0iRWkZBBJ91/_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/resend/nAzNk0iRWkZBBJ91/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/resend/nAzNk0iRWkZBBJ91/_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/resend/nAzNk0iRWkZBBJ91/_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/resend/nAzNk0iRWkZBBJ91/_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/resend/nAzNk0iRWkZBBJ91/_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/resend/nAzNk0iRWkZBBJ91/_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/resend/nAzNk0iRWkZBBJ91/_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/resend/nAzNk0iRWkZBBJ91/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send Batch Emails - Resend\">\u003cmeta data-mint-head property=\"og:description\" content=\"Trigger up to 100 batch emails at once.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Resend\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://resend.com/docs/api-reference/emails/send-batch-emails\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://resend.mintlify.site/docs/_mintlify/api/og/v2?division=Sending\u0026amp;title=Send+Batch+Emails\u0026amp;description=Trigger+up+to+100+batch+emails+at+once.\u0026amp;theme=e65e22f27575fd7da85f3259\u0026amp;signature=2b0ec838a658a9b56e17efe8661d3b15c4b2605067fcabde2a38bdb95005d269\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Send Batch Emails - Resend\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Trigger up to 100 batch emails at once.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://resend.mintlify.site/docs/_mintlify/api/og/v2?division=Sending\u0026amp;title=Send+Batch+Emails\u0026amp;description=Trigger+up+to+100+batch+emails+at+once.\u0026amp;theme=e65e22f27575fd7da85f3259\u0026amp;signature=2b0ec838a658a9b56e17efe8661d3b15c4b2605067fcabde2a38bdb95005d269\">\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/resend/nAzNk0iRWkZBBJ91/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Resend\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://resend.com/docs/api-reference/emails/send-batch-emails\">\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/send-batch-emails.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://resend.com/#organization\",\"name\":\"Resend\",\"url\":\"https://resend.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/resend/w4S5Jr48MiquhhSH/logo-black.svg?fit=max\u0026auto=format\u0026n=w4S5Jr48MiquhhSH\u0026q=85\u0026s=630be7deea6ea94cc7fc4560ea60a5ac\"}},{\"@type\":\"WebSite\",\"@id\":\"https://resend.com/docs#website\",\"name\":\"Resend\",\"url\":\"https://resend.com/docs\",\"publisher\":{\"@id\":\"https://resend.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://resend.com/docs/api-reference/emails/send-batch-emails#webpage\",\"url\":\"https://resend.com/docs/api-reference/emails/send-batch-emails\",\"name\":\"Send Batch Emails\",\"description\":\"Trigger up to 100 batch emails at once.\",\"dateModified\":\"2026-09-25T17:17:31.779Z\",\"isPartOf\":{\"@id\":\"https://resend.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://resend.com/docs/api-reference/emails/send-batch-emails#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://resend.com/docs/api-reference/emails/send-batch-emails#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Emails\",\"item\":\"https://resend.com/docs/api-reference/emails/send-email\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sending\",\"item\":\"https://resend.com/docs/api-reference/emails/send-email\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Send Batch Emails\",\"item\":\"https://resend.com/docs/api-reference/emails/send-batch-emails\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://resend.com/docs/api-reference/emails/send-batch-emails#apireference\",\"headline\":\"Send Batch Emails\",\"name\":\"Send Batch Emails\",\"description\":\"Trigger up to 100 batch emails at once.\",\"url\":\"https://resend.com/docs/api-reference/emails/send-batch-emails\",\"mainEntityOfPage\":{\"@id\":\"https://resend.com/docs/api-reference/emails/send-batch-emails#webpage\"},\"dateModified\":\"2026-09-25T17:17:31.779Z\",\"publisher\":{\"@id\":\"https://resend.com/#organization\"},\"isPartOf\":{\"@id\":\"https://resend.com/docs#website\"}}]}\u003c/script>","agentPointerHref":"/docs/api-reference/emails/send-batch-emails.md","siteName":"Resend","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Guides","icon":"books","pages":[{"title":"Guides","href":"/knowledge-base/introduction"}]},{"tab":"API Reference","icon":"rectangle-terminal","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Pagination","href":"/api-reference/pagination"},{"title":"Usage Limits","href":"/api-reference/rate-limit"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Emails","pages":[{"group":"Sending","expanded":false,"pages":[{"title":"Send Email","description":"Start sending emails through the Resend Email API.","api":"POST /emails","href":"/api-reference/emails/send-email"},{"title":"Send Batch Emails","api":"POST /emails/batch","href":"/api-reference/emails/send-batch-emails"},{"title":"Retrieve Sent Email","description":"Retrieve a single sent email.","api":"GET /emails/:email_id","href":"/api-reference/emails/retrieve-email"},{"title":"List Sent Emails","api":"GET /emails","href":"/api-reference/emails/list-emails"},{"title":"Update Email","api":"PATCH /emails/:email_id","href":"/api-reference/emails/update-email"},{"title":"Cancel Email","api":"POST /emails/:email_id/cancel","href":"/api-reference/emails/cancel-email"},{"title":"Share Email","api":"POST /emails/:email_id/share","href":"/api-reference/emails/share-email"},{"title":"Retrieve Attachment","api":"GET /emails/:email_id/attachments/:attachment_id","href":"/api-reference/emails/retrieve-email-attachment"},{"title":"List Attachments","api":"GET /emails/:email_id/attachments","href":"/api-reference/emails/list-email-attachments"},{"title":"Retrieve Metrics","api":"GET /emails/metrics","href":"/api-reference/emails/get-metrics"}]},{"group":"Receiving","expanded":false,"pages":[{"title":"Retrieve Received Email","api":"GET /emails/receiving/:email_id","href":"/api-reference/emails/retrieve-received-email"},{"title":"List Received Emails","api":"GET /emails/receiving","href":"/api-reference/emails/list-received-emails"},{"title":"Retrieve Attachment","api":"GET /emails/receiving/:email_id/attachments/:attachment_id","href":"/api-reference/emails/retrieve-received-email-attachment"},{"title":"List Attachments","api":"GET /emails/receiving/:email_id/attachments","href":"/api-reference/emails/list-received-email-attachments"}]},{"group":"Templates","expanded":false,"pages":[{"title":"Create Template","api":"POST /templates","href":"/api-reference/templates/create-template"},{"title":"Retrieve Template","api":"GET /templates/:template_id","href":"/api-reference/templates/get-template"},{"title":"List Templates","api":"GET /templates","href":"/api-reference/templates/list-templates"},{"title":"Update Template","api":"PATCH /templates/:template_id","href":"/api-reference/templates/update-template"},{"title":"Delete Template","api":"DELETE /templates/:template_id","href":"/api-reference/templates/delete-template"},{"title":"Publish Template","api":"POST /templates/:template_id/publish","href":"/api-reference/templates/publish-template"},{"title":"Duplicate Template","api":"POST /templates/:template_id/duplicate","href":"/api-reference/templates/duplicate-template"}]}]},{"group":"Marketing","pages":[{"group":"Broadcasts","expanded":false,"pages":[{"title":"Create Broadcast","api":"POST /broadcasts","href":"/api-reference/broadcasts/create-broadcast"},{"title":"Send Broadcast","api":"POST /broadcasts/:broadcast_id/send","href":"/api-reference/broadcasts/send-broadcast"},{"title":"Cancel Broadcast","api":"POST /broadcasts/:broadcast_id/cancel","href":"/api-reference/broadcasts/cancel-broadcast"},{"title":"Duplicate Broadcast","api":"POST /broadcasts/:broadcast_id/duplicate","href":"/api-reference/broadcasts/duplicate-broadcast"},{"title":"Retrieve Broadcast","api":"GET /broadcasts/:broadcast_id","href":"/api-reference/broadcasts/get-broadcast"},{"title":"List Broadcasts","api":"GET /broadcasts","href":"/api-reference/broadcasts/list-broadcasts"},{"title":"Update Broadcast","api":"PATCH /broadcasts/:broadcast_id","href":"/api-reference/broadcasts/update-broadcast"},{"title":"Delete Broadcast","api":"DELETE /broadcasts/:broadcast_id","href":"/api-reference/broadcasts/delete-broadcast"},{"title":"List Recipients","api":"GET /broadcasts/:broadcast_id/recipients","href":"/api-reference/broadcasts/list-broadcast-recipients"},{"title":"List Clicked Links","api":"GET /broadcasts/:broadcast_id/clicked-links","href":"/api-reference/broadcasts/list-broadcast-clicked-links"}]},{"group":"Automations","expanded":false,"pages":[{"title":"Create Automation","api":"POST /automations","href":"/api-reference/automations/create-automation"},{"title":"Update Automation","api":"PATCH /automations/:automation_id","href":"/api-reference/automations/update-automation"},{"title":"Retrieve Automation","api":"GET /automations/:automation_id","href":"/api-reference/automations/get-automation"},{"title":"List Automations","api":"GET /automations","href":"/api-reference/automations/list-automations"},{"title":"Duplicate Automation","api":"POST /automations/:automation_id/duplicate","href":"/api-reference/automations/duplicate-automation"},{"title":"Stop Automation","api":"POST /automations/:automation_id/stop","href":"/api-reference/automations/stop-automation"},{"title":"Delete Automation","api":"DELETE /automations/:automation_id","href":"/api-reference/automations/delete-automation"},{"title":"List Automation Runs","api":"GET /automations/:automation_id/runs","href":"/api-reference/automations/list-automation-runs"},{"title":"Retrieve Automation Run","api":"GET /automations/:automation_id/runs/:run_id","href":"/api-reference/automations/get-automation-run"}]},{"group":"Events","expanded":false,"pages":[{"title":"Create Event","api":"POST /events","href":"/api-reference/events/create-event"},{"title":"Send Event","api":"POST /events/send","href":"/api-reference/events/send-event"},{"title":"Retrieve Event","api":"GET /events/:id","href":"/api-reference/events/get-event"},{"title":"List Events","api":"GET /events","href":"/api-reference/events/list-events"},{"title":"Update Event","api":"PATCH /events/:id","href":"/api-reference/events/update-event"},{"title":"Delete Event","api":"DELETE /events/:id","href":"/api-reference/events/delete-event"}]}]},{"group":"Audience","pages":[{"group":"Contacts","expanded":false,"pages":[{"title":"Create Contact","api":"POST /contacts","href":"/api-reference/contacts/create-contact"},{"title":"Retrieve Contact","api":"GET /contacts/:contact_id","href":"/api-reference/contacts/get-contact"},{"title":"List Contacts","api":"GET /contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Update Contact","api":"PATCH /contacts/:contact_id","href":"/api-reference/contacts/update-contact"},{"title":"Delete Contact","api":"DELETE /contacts/:contact_id","href":"/api-reference/contacts/delete-contact"},{"title":"Add Contact to Segment","api":"POST /contacts/:contact_id/segments/:segment_id","href":"/api-reference/contacts/add-contact-to-segment"},{"title":"List Contact Segments","api":"GET /contacts/:contact_id/segments","href":"/api-reference/contacts/list-contact-segments"},{"title":"Delete Contact Segment","api":"DELETE /contacts/:contact_id/segments/:segment_id","href":"/api-reference/contacts/delete-contact-segment"},{"title":"Retrieve Contact Topics","api":"GET /contacts/:contact_id/topics","href":"/api-reference/contacts/get-contact-topics"},{"title":"Update Contact Topics","api":"PATCH /contacts/:contact_id/topics","href":"/api-reference/contacts/update-contact-topics"}]},{"group":"Properties","expanded":false,"pages":[{"title":"Create Contact Property","api":"POST /contact-properties","href":"/api-reference/contact-properties/create-contact-property"},{"title":"Retrieve Contact Property","api":"GET /contact-properties/:contact_property_id","href":"/api-reference/contact-properties/get-contact-property"},{"title":"List Contact Properties","api":"GET /contact-properties","href":"/api-reference/contact-properties/list-contact-properties"},{"title":"Update Contact Property","api":"PATCH /contact-properties/:contact_property_id","href":"/api-reference/contact-properties/update-contact-property"},{"title":"Delete Contact Property","api":"DELETE /contact-properties/:contact_property_id","href":"/api-reference/contact-properties/delete-contact-property"}]},{"group":"Imports","expanded":false,"pages":[{"title":"Create Contact Import","api":"POST /contacts/imports","href":"/api-reference/contacts/create-contact-import"},{"title":"Retrieve Contact Import","api":"GET /contacts/imports/:id","href":"/api-reference/contacts/get-contact-import"},{"title":"List Contact Imports","api":"GET /contacts/imports","href":"/api-reference/contacts/list-contact-imports"}]},{"group":"Segments","expanded":false,"pages":[{"title":"Create Segment","api":"POST /segments","href":"/api-reference/segments/create-segment"},{"title":"Retrieve Segment","api":"GET /segments/:segment_id","href":"/api-reference/segments/get-segment"},{"title":"List Segments","api":"GET /segments","href":"/api-reference/segments/list-segments"},{"title":"Update Segment","api":"PATCH /segments/:segment_id","href":"/api-reference/segments/update-segment"},{"title":"Delete Segment","api":"DELETE /segments/:segment_id","href":"/api-reference/segments/delete-segment"},{"title":"List Segment Contacts","api":"GET /segments/:segment_id/contacts","href":"/api-reference/segments/list-segment-contacts"},{"title":"Retrieve Metrics","api":"GET /segments/metrics","tag":"BETA","href":"/api-reference/segments/get-segment-metrics"}]},{"group":"Topics","expanded":false,"pages":[{"title":"Create Topic","api":"POST /topics","href":"/api-reference/topics/create-topic"},{"title":"Retrieve Topic","api":"GET /topics/:topic_id","href":"/api-reference/topics/get-topic"},{"title":"List Topics","api":"GET /topics","href":"/api-reference/topics/list-topics"},{"title":"Update Topic","api":"PATCH /topics/:topic_id","href":"/api-reference/topics/update-topic"},{"title":"Delete Topic","api":"DELETE /topics/:topic_id","href":"/api-reference/topics/delete-topic"}]},{"group":"Suppressions","expanded":false,"pages":[{"title":"Add Suppression","api":"POST /suppressions","href":"/api-reference/suppressions/add-suppression"},{"title":"Retrieve Suppression","api":"GET /suppressions/:suppression","href":"/api-reference/suppressions/get-suppression"},{"title":"List Suppressions","api":"GET /suppressions","href":"/api-reference/suppressions/list-suppressions"},{"title":"Remove Suppression","api":"DELETE /suppressions/:suppression","href":"/api-reference/suppressions/remove-suppression"},{"title":"Add Batch Suppressions","api":"POST /suppressions/batch/add","href":"/api-reference/suppressions/add-batch-suppressions"},{"title":"Remove Batch Suppressions","api":"POST /suppressions/batch/remove","href":"/api-reference/suppressions/remove-batch-suppressions"}]}]},{"group":"Inboxes","pages":[{"group":"Inbox","expanded":false,"pages":[{"title":"Create Inbox","api":"POST /inboxes","href":"/api-reference/inboxes/create-inbox"},{"title":"Retrieve Inbox","api":"GET /inboxes/:inbox_id","href":"/api-reference/inboxes/get-inbox"},{"title":"List Inboxes","api":"GET /inboxes","href":"/api-reference/inboxes/list-inboxes"},{"title":"Update Inbox","api":"PATCH /inboxes/:inbox_id","href":"/api-reference/inboxes/update-inbox"},{"title":"Delete Inbox","api":"DELETE /inboxes/:inbox_id","href":"/api-reference/inboxes/delete-inbox"}]},{"group":"Threads","expanded":false,"pages":[{"title":"List Threads","api":"GET /inboxes/:inbox_id/threads","href":"/api-reference/inboxes/list-threads"},{"title":"Search Threads","api":"GET /inboxes/:inbox_id/threads/search","href":"/api-reference/inboxes/search-threads"},{"title":"Retrieve Thread","api":"GET /inboxes/:inbox_id/threads/:thread_id","href":"/api-reference/inboxes/get-thread"},{"title":"Update Thread","api":"PATCH /inboxes/:inbox_id/threads/:thread_id","href":"/api-reference/inboxes/update-thread"},{"title":"Delete Thread","api":"DELETE /inboxes/:inbox_id/threads/:thread_id","href":"/api-reference/inboxes/delete-thread"}]},{"group":"Thread Emails","expanded":false,"pages":[{"title":"List Thread Emails","api":"GET /inboxes/:inbox_id/threads/:thread_id/emails","href":"/api-reference/inboxes/list-thread-emails"},{"title":"Retrieve Thread Email","api":"GET /inboxes/:inbox_id/threads/:thread_id/emails/:email_id","href":"/api-reference/inboxes/get-thread-email"},{"title":"Reply to Thread Email","api":"POST /inboxes/:inbox_id/threads/:thread_id/emails/:email_id/reply","href":"/api-reference/inboxes/reply-thread-email"},{"title":"Forward Thread Email","api":"POST /inboxes/:inbox_id/threads/:thread_id/emails/:email_id/forward","href":"/api-reference/inboxes/forward-thread-email"}]},{"group":"Thread Labels","expanded":false,"pages":[{"title":"Add Thread Labels","api":"POST /inboxes/:inbox_id/threads/:thread_id/labels","href":"/api-reference/inboxes/add-thread-labels"},{"title":"Set Thread Labels","api":"PUT /inboxes/:inbox_id/threads/:thread_id/labels","href":"/api-reference/inboxes/set-thread-labels"},{"title":"Remove Thread Label","api":"DELETE /inboxes/:inbox_id/threads/:thread_id/labels/:label_id","href":"/api-reference/inboxes/remove-thread-label"}]},{"group":"Labels","expanded":false,"pages":[{"title":"Create Label","api":"POST /inboxes/:inbox_id/labels","href":"/api-reference/inboxes/create-label"},{"title":"List Labels","api":"GET /inboxes/:inbox_id/labels","href":"/api-reference/inboxes/list-labels"},{"title":"Update Label","api":"PATCH /inboxes/:inbox_id/labels/:label_id","href":"/api-reference/inboxes/update-label"},{"title":"Delete Label","api":"DELETE /inboxes/:inbox_id/labels/:label_id","href":"/api-reference/inboxes/delete-label"}]},{"group":"Drafts","expanded":false,"pages":[{"title":"Create Draft","api":"POST /inboxes/:inbox_id/drafts","href":"/api-reference/inboxes/create-draft"},{"title":"List Drafts","api":"GET /inboxes/:inbox_id/drafts","href":"/api-reference/inboxes/list-drafts"},{"title":"Retrieve Draft","api":"GET /inboxes/:inbox_id/drafts/:draft_id","href":"/api-reference/inboxes/get-draft"},{"title":"Update Draft","api":"PATCH /inboxes/:inbox_id/drafts/:draft_id","href":"/api-reference/inboxes/update-draft"},{"title":"Delete Draft","api":"DELETE /inboxes/:inbox_id/drafts/:draft_id","href":"/api-reference/inboxes/delete-draft"},{"title":"Send Draft","api":"POST /inboxes/:inbox_id/drafts/:draft_id/send","href":"/api-reference/inboxes/send-draft"}]},{"group":"Agent","expanded":false,"pages":[{"title":"Retrieve Agent Settings","api":"GET /inboxes/:inbox_id/agent","href":"/api-reference/inboxes/get-agent"},{"title":"Update Agent Settings","api":"PATCH /inboxes/:inbox_id/agent","href":"/api-reference/inboxes/update-agent"}]}]},{"group":"Platform","pages":[{"group":"Domains","expanded":false,"pages":[{"title":"Create Domain","api":"POST /domains","href":"/api-reference/domains/create-domain"},{"title":"Claim Domain","api":"POST /domains/claim","href":"/api-reference/domains/claim-domain"},{"title":"Retrieve Domain Claim","api":"GET /domains/:domain_id/claim","href":"/api-reference/domains/get-domain-claim"},{"title":"Verify Domain Claim","api":"POST /domains/:domain_id/claim/verify","href":"/api-reference/domains/verify-domain-claim"},{"title":"Verify Domain","api":"POST /domains/:domain_id/verify","href":"/api-reference/domains/verify-domain"},{"title":"Retrieve Domain","api":"GET /domains/:domain_id","href":"/api-reference/domains/get-domain"},{"title":"List Domains","api":"GET /domains","href":"/api-reference/domains/list-domains"},{"title":"Update Domain","api":"PATCH /domains/:domain_id","href":"/api-reference/domains/update-domain"},{"title":"Delete Domain","api":"DELETE /domains/:domain_id","href":"/api-reference/domains/delete-domain"}]},{"group":"Webhooks","expanded":false,"pages":[{"title":"Create Webhook","api":"POST /webhooks","href":"/api-reference/webhooks/create-webhook"},{"title":"Retrieve Webhook","api":"GET /webhooks/:webhook_id","href":"/api-reference/webhooks/get-webhook"},{"title":"List Webhooks","api":"GET /webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Update Webhook","api":"PATCH /webhooks/:webhook_id","href":"/api-reference/webhooks/update-webhook"},{"title":"Delete Webhook","api":"DELETE /webhooks/:webhook_id","href":"/api-reference/webhooks/delete-webhook"},{"title":"Rotate Signing Secret","api":"POST /webhooks/:webhook_id/signing-secret/rotate","href":"/api-reference/webhooks/rotate-signing-secret"},{"title":"List Events","api":"GET /webhooks/:webhook_id/events","href":"/api-reference/webhooks/list-events"},{"title":"Retrieve Event","api":"GET /webhooks/:webhook_id/events/:event_id","href":"/api-reference/webhooks/get-event"},{"title":"Replay Event","api":"POST /webhooks/:webhook_id/events/:event_id/replay","href":"/api-reference/webhooks/replay-event"},{"title":"List Attempts","api":"GET /webhooks/:webhook_id/events/:event_id/attempts","href":"/api-reference/webhooks/list-event-attempts"}]},{"group":"API Keys","expanded":false,"pages":[{"title":"Create API key","api":"POST /api-keys","href":"/api-reference/api-keys/create-api-key"},{"title":"List API keys","api":"GET /api-keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Update API key","api":"PATCH /api-keys/:api_key_id","href":"/api-reference/api-keys/update-api-key"},{"title":"Delete API key","api":"DELETE /api-keys/:api_key_id","href":"/api-reference/api-keys/delete-api-key"}]},{"group":"Logs","expanded":false,"pages":[{"title":"Retrieve Log","api":"GET /logs/:log_id","href":"/api-reference/logs/retrieve-log"},{"title":"List Logs","api":"GET /logs","href":"/api-reference/logs/list-logs"}]},{"group":"Usage","expanded":false,"pages":[{"title":"Retrieve Usage","api":"GET /usage","href":"/api-reference/usage/retrieve-usage"}]}]},{"group":"OAuth","pages":[{"group":"Authorization","expanded":false,"pages":[{"title":"Register Client","api":"POST /oauth/register","href":"/api-reference/oauth/register"},{"title":"Authorize","api":"GET /oauth/authorize","href":"/api-reference/oauth/authorize"},{"title":"Token","api":"POST /oauth/token","href":"/api-reference/oauth/token"},{"title":"Revoke Token","api":"POST /oauth/revoke","href":"/api-reference/oauth/revoke"}]},{"group":"Authorized Apps","expanded":false,"pages":[{"title":"List Grants","api":"GET /oauth/grants","href":"/api-reference/oauth/list-grants"},{"title":"Revoke Grant","api":"DELETE /oauth/grants/:oauth_grant_id","href":"/api-reference/oauth/revoke-grant"}]}]}]}]},"basePath":"","title":"Send Batch Emails - Resend","buildId":"dpl_eBQnj73Q1gDRVNqNsS3Yt9yPkTEW","deploymentId":"dpl_eBQnj73Q1gDRVNqNsS3Yt9yPkTEW","dynamics":["c2aa737661","b0f84f53ff","2b790eda92"],"chunks":["OpenApiReferenceProvider-2eIonhLG.js","utils-Bu4fD7MA.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-Dm0-6XnC.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-75RmY7ol.js","snippetPresets-CNg6Wglv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-eOxp8mNS.js","ApiExamples-jSmPd6im.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CVrruHci.js","shallow-CebqfoNv.js","getApiPlaygroundDisplay-D2ytr59n.js","CodeSnippet-BVCHzyUV.js","CodeSnippets-C72k541i.js","getPastedJson-B0F9LVjA.js","icon-CGCgkOos.js","MethodPill-WJKpFOMR.js","DuplicateIcon-Dv5CTyCp.js","createIcon-B8Xc2y5i.js","DynamicMarkdown-CAm7Qzqi.js","SectionHeading-ACCZHDy_.js","axios-vUo_bRtp.js"]}