Frameworks

Next.js

React meta-framework.

Email capabilities

  • Accepts SMTP
  • Accepts inbound
  • Webhooks

Connection methods

  • API route
  • SDK
  • Webhook

Next.js is the leading React meta-framework — the single most-used framework in the 2025 Stack Overflow Developer Survey. next-mailkite adds a signature-verified inbound webhook route handler for the App Router plus a sendEmail() wrapper over the MailKite SDK, alongside React Email templating and ESP SDKs (Resend, SES, Mailgun) in server actions and route handlers.

Connect Next.js to MailKite

Install next-mailkite for a signature-verified inbound webhook route handler and sendEmail() — or call the MailKite SDK directly from server actions or route handlers.

Read the full setup guide

Point Next.js at MailKite's SMTP relay

A minimal, copy-paste starter. Swap in your own domain and API key.

.env
# Any app that accepts an SMTP server works with MailKite
MAIL_HOST=smtp.mailkite.dev
MAIL_PORT=587 # STARTTLS (or 465 for TLS)
MAIL_ENCRYPTION=tls
MAIL_USERNAME=mailkite # username is ignored
MAIL_PASSWORD=mk_live_... # your MailKite API key
MAIL_FROM_ADDRESS=you@yourdomain.com # on a verified domain
MAIL_FROM_NAME=Next.js
Read the full setup guide
Email tools

Commonly paired with Next.js

Connect Next.js to MailKite today

Point a domain, set one SMTP endpoint, send your first email in minutes. Unlimited domains, no credit card.