We're building a native Vercel Marketplace integration. Once live, you'll get a fully provisioned email API with auto-injected keys and zero config.
The Vercel integration handles provisioning, secrets, and environment variables. You just write code.
Find MailJunky in the Vercel Marketplace and click Install. Choose your plan and connect to your Vercel team.
Open Marketplace Select which Vercel project needs email. MailJunky provisions your keys and injects MAILJUNKY_API_KEY and MAILJUNKY_PUBLIC_KEY automatically.
Import the SDK and send. No env file editing, no key copying. It just works on every deployment.
The env var is available in any framework deployed on Vercel. Here's how to use it.
import { MailJunky } from '@mailjunky/sdk'
const mj = new MailJunky({ apiKey: process.env.MAILJUNKY_API_KEY! })
export async function POST(req: Request) {
const { email } = await req.json()
await mj.emails.send({
from: '[email protected]',
to: email,
subject: 'Welcome!',
html: '<h1>Welcome aboard</h1>'
})
return Response.json({ sent: true })
}More than just SMTP. MailJunky gives you a complete email platform with event tracking and AI workflows.
Both live and public API keys are created and injected as MAILJUNKY_API_KEY and MAILJUNKY_PUBLIC_KEY. No manual setup required.
Rotate API keys from the Vercel dashboard. Old keys are revoked and new ones are injected automatically.
Upgrade or downgrade your MailJunky plan directly from Vercel. Billing is unified in one place.
Send order confirmations, password resets, welcome emails, and more through a simple API.
Track user behaviour and trigger automated emails based on events — all from the same SDK.
Set up intelligent email automation that responds to user actions. Powered by event tracking and AI.
When you connect MailJunky to a Vercel project, these environment variables are automatically set.
| Variable | Description | Environments |
|---|---|---|
| MAILJUNKY_API_KEY | Live key for server-side sending, contacts, and analytics | ProductionPreviewDev |
| MAILJUNKY_PUBLIC_KEY | Public key for client-side event tracking (safe to expose in browser) | ProductionPreviewDev |
Join the waitlist and we'll notify you as soon as the Vercel integration is available.