Runnable examples for MailKite — receive email with a webhook, send with one API — across every stack we ship an SDK or protocol for.
Each folder is a minimal, self-contained example. Set MAILKITE_API_KEY
(get your API key), install the folder's
dependencies, and run. Sending needs a verified domain.
node/send-email— Node.jsnextjs/send-email— Node.js · Next.jsremix/send-email— Node.js · Remixnuxt/send-email— Node.js · Nuxtexpress/send-email— Node.js · Expresshono/send-email— Node.js · Honoastro/send-email— Node.js · Astrobun/send-email— Node.js · Buncloudflare-workers/send-email— Serverless · Cloudflare Workersvercel-functions/send-email— Serverless · Vercel Functionsaws-lambda/send-email— Serverless · AWS Lambdasupabase-edge-functions/send-email— Serverless · Supabase Edgedeno-deploy/send-email— Serverless · Deno Deploypython/send-email— Pythondjango/send-email— Python · Djangoflask/send-email— Python · Flaskfastapi/send-email— Python · FastAPIphp/send-email— PHPlaravel/send-email— PHP · Laravelsymfony/send-email— PHP · Symfonyruby/send-email— Rubyrails/send-email— Ruby · Railssinatra/send-email— Ruby · Sinatrago/send-email— Gojava/send-email— Javaspring-boot/send-email— Java · Spring Bootcli/send-email— CLIrest/curl/send-email— REST · cURLrest/wget/send-email— REST · wgetrest/node-fetch/send-email— REST · Node.jsrest/python-requests/send-email— REST · Pythonsmtp/any-app/send-email— SMTP · Any appsmtp/nodemailer/send-email— SMTP · Nodemailersmtp/django/send-email— SMTP · Djangosmtp/laravel/send-email— SMTP · Laravelsmtp/rails/send-email— SMTP · Rails
node/receive-webhook— Expresspython/receive-webhook— Flaskphp/receive-webhook— plain PHPjava/receive-webhook— Spring Bootgo/receive-webhook— net/httpruby/receive-webhook— Sinatra
imap/read-inbox— IMAP
Give your agent its own inbox — over the hosted remote MCP server
(https://mcp.mailkite.dev/mcp, OAuth, no key to paste), the local stdio
server, the Claude Code plugin, or the drop-in skill:
agents/claude-code— Claude Codeagents/skill— Skillagents/cursor— Cursoragents/claude-desktop— Claude Desktopagents/vscode— VS Codeagents/windsurf— Windsurfagents/gemini— Geminiagents/codex— Codexagents/chat— Chat agentagents/mcp— Any MCP
This repo is generated from the MailKite monorepo — the same source that renders mailkite.dev and drives the SDKs' JSON-Schema conformance suite. Every example's request shape is checked against the canonical API spec before release. Issues and PRs welcome — fixes land in the monorepo and flow back out here.
MIT