Programmatic access to Outlook/M365 mail, calendars, and contacts.
Graph reads Outlook mail you have. MailKite provisions addresses on your domain and exposes them over a hosted MCP.
See the full MailKite vs Microsoft Graph (Outlook) comparisonA minimal, copy-paste starter. Swap in your own domain and API key.
import { verifyWebhook } from "@mailkite/client";
// MailKite POSTs every inbound email at your domain as JSON.
// Point a route at this handler in the MailKite dashboard.
export default async function handler(req: Request) {
const raw = await req.text();
const sig = req.headers.get("x-mailkite-signature") ?? "";
// Reject anything not signed by your webhook secret
const ok = await verifyWebhook(sig, raw, process.env.MK_WEBHOOK_SECRET!);
if (!ok) return new Response("bad signature", { status: 401 });
const email = JSON.parse(raw);
// Route into Microsoft Graph (Outlook): open a ticket, create a task, store a record
await routeIntoName(email); // email.from · email.subject · email.text
return new Response(JSON.stringify({ ok: true }));
} Microsoft Graph is the unified API for Outlook and Microsoft 365, exposing mail, calendars, and contacts to applications and agents via OAuth. It's the enterprise path for apps that operate on existing Outlook mailboxes, with rich scope and consent controls. Like the Gmail API, it operates on mail you already have rather than provisioning new addresses.
Free within Azure AD quotas
Agent & MCP email
Inboxes, SDKs, and MCP servers that give AI agents email.
Graph operates on existing Outlook/M365 mailboxes via OAuth. MailKite provisions new addresses on your own domain and exposes them to agents over a hosted MCP server. See /alternatives/microsoft-graph.
Reads/sends from existing Gmail accounts; requires OAuth scope per user.
View details
Wraps existing mailboxes (Gmail/Outlook) under one API — not its own mail.
View detailsHosted OAuth MCP — agents get their own inbox, no local install.
View detailsReceive email as a webhook, send with one API. Unlimited free domains.
View detailsPoint a domain, drop in a webhook URL, and send your first email in minutes. Unlimited domains, no credit card.