We’re thrilled to announce that MailKite email support is now available in all LaunchFast starter kits! MailKite joins AutoSend, Resend, Postmark, SendGrid, and Mailgun as a first-class transactional email provider, so you can pick the sender that fits your product and swap it in without touching your application code.
What is MailKite?
MailKite is a developer-focused transactional email API. It handles verification emails, magic links, password resets, and product notifications with a simple REST endpoint and bearer-token authentication. If you already send email through an HTTP API, MailKite will feel immediately familiar.
Getting Started with MailKite
- Choose Your Framework: Select from Astro, Next.js, or SvelteKit
- Configure MailKite: Set
EMAIL_PROVIDERtomailkiteand add yourMAILKITE_API_KEY - Send Emails: Reuse the same
sendEmailhelper the starter kit already ships with - Ship: Every transactional email in your app now routes through MailKite
Here is exactly what the starter kit does under the hood when EMAIL_PROVIDER is set to mailkite:
if (!getSecret('MAILKITE_API_KEY')) throw new Error(`MAILKITE_API_KEY environment variable not set.`)// Send an email using MailKite// Read more on https://mailkite.dev/docs/const myHeaders = new Headers()myHeaders.append('Content-Type', 'application/json')myHeaders.append('Authorization', `Bearer ${getSecret('MAILKITE_API_KEY')}`)return await fetch('https://api.mailkite.dev/v1/send', { method: 'POST', headers: myHeaders, body: JSON.stringify({ from: body.from, // "LaunchFast <contact@launchfa.st>" to: body.to, subject: body.subject, text: body.text, }),})That is the entire integration. Because it lives behind the same sendEmail function every provider uses, none of your calling code changes when you switch to MailKite.
Configuration
Add two values to your .env file:
## "resend" or "sendgrid" or "postmark" or "mailgun" or "autosend" or "mailkite"EMAIL_PROVIDER="mailkite"
## MailKite Environment VariableMAILKITE_API_KEY="mk_live_..."That is it. The starter kit reads MAILKITE_API_KEY as a server-side secret through Astro’s typed environment, so your key never leaks to the client.
What’s Included
Every LaunchFast starter kit with MailKite support includes:
- ✅ Email Templates: Pre-built templates for verification, welcome, and notifications
- ✅ Type Safety: Full TypeScript support for email functions
- ✅ API Routes: RESTful endpoints for sending emails
- ✅ Provider Switching: Flip a single environment variable to change providers
Pricing
MailKite support is included in all our starter kits at no additional cost:
- Astro Starter Kit: $49 - Buy now
- Next.js Starter Kit: $49 - Buy now
- SvelteKit Starter Kit: $49 - Buy now
- Complete Bundle: $99 (includes all frameworks) - Buy now
Deploy Anywhere
While MailKite works seamlessly with all platforms, our starter kits also support the following email providers with built-in setup:
- Resend - /documentation/emails/resend/
- Postmark - /documentation/emails/postmark/
- SendGrid - /documentation/emails/sendgrid/
- Mailgun - /documentation/emails/mailgun/
- AutoSend - /documentation/emails/autosend/
Get Started Today
Ready to send transactional emails through MailKite with a single environment variable change?
Get LaunchFast Starter Kit and start building with the power of MailKite!