Docs Get key
Developer guides

Build email into your application

Choose a task, follow the working code, and check the result. These guides cover receiving email as signed JSON, sending application email, connecting existing inboxes, and building agent workflows.

New to MailKite? Start with the product quickstart. Each section below collects a complete set of related walkthroughs.

Getting started

Choose the email workflow your application needs.

Receiving email

Run a signed JSON webhook receiver in your language.

Connecting inboxes

Forward messages from your existing mailbox to your application.

Inbound email parsing

Receive and parse inbound mail with your email provider.

Amazon SES inbound email

Receive and parse inbound email on Amazon SES with receipt rules, S3, SNS and Lambda — then see the same flow on MailKite: one MX record and a signed, decoded JSON webhook.

Brevo inbound parsing

Set up Brevo's inbound parse webhook to receive email as JSON, then see the same inbound flow on MailKite: one MX record, a signed payload, attachments as links.

Cloudflare Email Routing

Receive and parse inbound email with Cloudflare Email Routing and Email Workers, then see the same flow the MailKite way: one MX record, decoded JSON, signed webhooks.

Mailgun Routes (inbound email)

inbound to app

Mailjet Parse API

Set up Mailjet's Parse API to receive and parse inbound email as JSON, then see the same inbound flow the MailKite way: one MX record, a signed payload, attachments as links.

Mandrill Inbound

Set up Mandrill inbound email: point an MX at Mandrill, add a route, and parse the mandrill_events payload — then see the same inbound flow the MailKite way.

Postmark Inbound

Set up Postmark Inbound to receive and parse email as JSON, then see the same inbound flow the MailKite way: one MX record, a signed payload, attachments as links.

Resend inbound email

Receive and parse inbound email on Resend — the MX record, the signed email.received webhook, and fetching the body — then see the same flow the MailKite way.

SendGrid Inbound Parse

Set up SendGrid's Inbound Parse webhook to receive email as data, then see the same inbound flow on MailKite: one MX record, a signed JSON payload, attachments as links.

Sending email

Send application email through an email service provider.

Application-triggered email

Connect email to application events and background jobs.

Bulk email

Send a batch safely with the SDK in your language.

Programmatic newsletters

Build and operate a newsletter workflow.

Outreach workflows

Understand the boundaries of programmatic outreach.

Provider comparisons

Compare delivery tools and integration approaches.

Agent email

Give an agent an inbox, handle replies, and build a support workflow.

Agent email providers

Connect an agent through the provider you use.

Agent email with AgentMail

Give an AI agent its own email inbox with AgentMail — create it, send, and receive — then the MCP-native MailKite way, where the agent has email tools built in.

Agent email with Amazon SES

Give an AI agent its own inbox with Amazon SES — wrap send and wire up inbound — then the MCP-native MailKite way, where the agent has email tools built in.

Agent email with Brevo

Give an AI agent its own email inbox with Brevo — wrap its send API and Inbound Parse webhook as tools — then the MCP-native MailKite way, where email is built in.

Agent email with Cloudflare

Give an AI agent its own inbox with Cloudflare Email Service and Email Routing — send and receive from a Worker — then the MCP-native MailKite way.

Agent email with the Gmail API

Give an AI agent email with the Gmail API — OAuth, sending, and push notifications — then the MCP-native MailKite way, where the agent has email tools built in.

Agent email with Mailgun

Give an AI agent email with Mailgun — wrap its send API as a tool and receive via Routes — then the MCP-native MailKite way, where email is built-in agent tools.

Agent email with Mailjet

Give an AI agent its own email inbox with Mailjet — wrap send and inbound as tools — then the MCP-native MailKite way, where the agent has email tools built in.

Agent email with Mandrill

Give an AI agent its own email with Mandrill — wrap the send API as a tool and take inbound over a route webhook — then the MCP-native MailKite way.

Agent email with Microsoft Graph

Give an AI agent email with Microsoft Graph — register the app, send, and receive change notifications — then the MCP-native MailKite way.

Agent email with Nylas

Connect an existing Gmail, Outlook, or IMAP mailbox to an AI agent with Nylas — send and receive — then the MCP-native MailKite way, where email is native tools.

Agent email with Postmark

Give an AI agent email with Postmark — wrap its send API and inbound webhook as tools — then the MCP-native MailKite way, where the agent has email tools built in.

Agent email with Resend

Give an AI agent email with Resend — wrap its send API as a tool and receive via a signed inbound webhook — then the MCP-native MailKite way, where email is built-in tools.

Agent email with SendGrid

Give an AI agent email with SendGrid — wrap its send API and Inbound Parse webhook as tools — then the MCP-native MailKite way, with email tools built in.