[{"data":1,"prerenderedAt":197},["ShallowReactive",2],{"navigation_docs":3,"landing":65},[4,25],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F2.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F3.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Quickstart","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F4.quickstart","i-lucide-rocket",{"title":26,"icon":6,"path":27,"stem":28,"children":29,"page":6},"Providers","\u002Fproviders","2.providers",[30,35,40,45,50,55,60],{"title":31,"path":32,"stem":33,"icon":34},"Local","\u002Fproviders\u002Flocal","2.providers\u002F1.local","i-lucide-terminal",{"title":36,"path":37,"stem":38,"icon":39},"Resend","\u002Fproviders\u002Fresend","2.providers\u002F2.resend","i-custom-resend",{"title":41,"path":42,"stem":43,"icon":44},"Postmark","\u002Fproviders\u002Fpostmark","2.providers\u002F3.postmark","i-custom-postmark",{"title":46,"path":47,"stem":48,"icon":49},"SendGrid","\u002Fproviders\u002Fsendgrid","2.providers\u002F4.sendgrid","i-custom-sendgrid",{"title":51,"path":52,"stem":53,"icon":54},"Mailgun","\u002Fproviders\u002Fmailgun","2.providers\u002F5.mailgun","i-custom-mailgun",{"title":56,"path":57,"stem":58,"icon":59},"Amazon SES","\u002Fproviders\u002Fses","2.providers\u002F6.ses","i-custom-aws",{"title":61,"path":62,"stem":63,"icon":64},"Cloudflare","\u002Fproviders\u002Fcloudflare","2.providers\u002F7.cloudflare","i-simple-icons-cloudflare",{"id":66,"title":67,"body":68,"description":67,"extension":189,"meta":190,"navigation":191,"path":192,"seo":193,"stem":195,"__hash__":196},"landing\u002Findex.md","",{"type":69,"value":70,"toc":186},"minimark",[71,96],[72,73,74,78,81],"u-page-hero",{},[75,76,77],"template",{"v-slot:title":67},"One API for every email provider",[75,79,80],{"v-slot:description":67},"Send email through Resend, Postmark, SendGrid, Mailgun, Amazon SES or Cloudflare with the same TypeScript code. Switching providers is a one-line change.",[75,82,83,90],{"v-slot:links":67},[84,85,89],"u-button",{"color":86,"size":87,"to":12,"trailing-icon":88},"neutral","xl","i-lucide-arrow-right","Get started",[84,91,95],{"color":86,"size":87,"to":92,"icon":93,"variant":94},"https:\u002F\u002Fgithub.com\u002Fnicogenz\u002Femails-sdk","simple-icons-github","outline","Star on GitHub",[97,98,99,102],"u-page-section",{},[75,100,101],{"v-slot:title":67},"Why emails-sdk",[75,103,104,122,131,144,169,178],{"v-slot:features":67},[105,106,108,111],"u-page-feature",{"icon":107},"i-lucide-mail",[75,109,110],{"v-slot:title":67},"One API",[75,112,113,117,118,121],{"v-slot:description":67},[114,115,116],"code",{},"send()"," and ",[114,119,120],{},"sendBatch()"," take the same message and return the same result, whichever provider you use.",[105,123,125,128],{"icon":124},"i-lucide-repeat",[75,126,127],{"v-slot:title":67},"Swap providers in one line",[75,129,130],{"v-slot:description":67},"Each provider is its own import. Change the import and its options, and the rest of your code stays the same.",[105,132,134,137],{"icon":133},"i-lucide-package",[75,135,136],{"v-slot:title":67},"Zero dependencies",[75,138,139,140,143],{"v-slot:description":67},"Built only on web standards like ",[114,141,142],{},"fetch",", so it runs on Node.js and edge runtimes without pulling in a provider SDK.",[105,145,147,150],{"icon":146},"i-lucide-shield-alert",[75,148,149],{"v-slot:title":67},"Typed errors",[75,151,152,153,156,157,160,161,164,165,168],{"v-slot:description":67},"Every failure is an ",[114,154,155],{},"EmailError"," with a normalized code, such as ",[114,158,159],{},"auth",", ",[114,162,163],{},"rate_limited"," or ",[114,166,167],{},"validation",".",[105,170,172,175],{"icon":171},"i-lucide-layers",[75,173,174],{"v-slot:title":67},"Batch sending",[75,176,177],{"v-slot:description":67},"Uses the provider's batch endpoint where there is one, and returns a result for every message.",[105,179,180,183],{"icon":34},[75,181,182],{"v-slot:title":67},"Local provider",[75,184,185],{"v-slot:description":67},"Prints emails to the console during development and records them for assertions in your tests.",{"title":67,"searchDepth":187,"depth":187,"links":188},2,[],"md",{},true,"\u002F",{"title":77,"description":194},"Send email through Resend, Postmark, SendGrid, Mailgun, Amazon SES or Cloudflare with the same TypeScript code.","index","DEXPe05Lwo8pNSkpdGq64Pf-IuZwwU3ceuLD0apbj1U",1791009312807]