MailChannels MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with MailChannels MCP or direct API to send transactional email, manage domains and DKIM, review delivery metrics, and maintain suppression lists through natural language.

MailChannels logoMailChannels
Api Key

MailChannels is a transactional email delivery platform with domain, DKIM, and delivery tools. It helps teams send reliable email and monitor delivery from one place.

43 Tools

Try MailChannels now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
MailChannels
Try asking
TOOLS

Supported Tools

Every MailChannels action and event your agent gets out of the box.

Activate Sub-account

Reactivate a suspended sub-account, restoring its ability to send email.

Check Domain Authentication

Check a sending domain's DKIM, SPF, sender-domain DNS, and Domain Lockdown configuration without changing it.

Create DKIM Key

Create a MailChannels-managed DKIM key pair and return the public key and DNS record that must be published.

Create Sub-account

Create a sub-account under the connected parent account.

Create Sub-account API Key

Explicitly create a sensitive API credential for a sub-account.

Create Sub-account SMTP Password

Explicitly create a sensitive SMTP credential for a sub-account.

Create Suppression Entries

Atomically add one or more recipients to the connected account's suppression list, optionally also applying them to all associated sub-accounts.

Delete All Webhooks

Permanently remove every webhook endpoint enrolled for the connected MailChannels account.

Delete Custom Tracking Domain

Permanently delete one custom tracking domain by exact hostname and scope.

Delete Sub-account

Permanently and irreversibly delete one MailChannels sub-account by its exact handle.

Delete Sub-account API Key

Permanently revoke one sub-account API key by exact sub-account handle and key ID.

Delete Sub-account Limit

Delete a sub-account's explicit monthly send limit.

Delete Sub-account SMTP Password

Permanently revoke one sub-account SMTP password by exact sub-account handle and password ID.

Delete Suppression Entry

Destructively remove one source, or every source, of suppression protection for a recipient.

Enroll Webhook

Enroll the account's single external endpoint for MailChannels event callbacks.

Get Engagement Metrics

Retrieve account message open and click metrics, optionally filtered by time range and campaign.

Get Performance Metrics

Retrieve account processed, delivered, hard-bounced, and complaint metrics.

Get Recipient Behaviour Metrics

Retrieve account recipient unsubscribe metrics, optionally filtered by time range and campaign.

Get Sub-account Limit

Return a sub-account's configured monthly send limit; -1 means it inherits the parent account's remaining capacity.

Get Sub-account Usage

Return a sub-account's usage, effective monthly limit, and current billing-period dates.

Get Usage

Return the connected account's usage, effective monthly limit, and current billing-period dates.

Get Volume Metrics

Retrieve account processed, delivered, and dropped message volume metrics.

Get Webhook Public Key

Retrieve the MailChannels public key identified by a webhook's Signature-Input header for signature verification.

List Custom Tracking Domains

Return one page of custom domains registered for click tracking, open tracking, or unsubscribe links.

List DKIM Keys

Return one page of DKIM keys for a domain, optionally filtered by selector or lifecycle status.

List Sender Metrics

Return one page of campaign or sub-account delivery metrics sorted by message volume.

List Sub-account API Keys

Return one page of API-key metadata for a sub-account.

List Sub-accounts

Return one page of sub-accounts owned by the connected parent account, including handle, company name, and enabled state.

List Sub-account SMTP Passwords

List SMTP-password metadata for a sub-account.

List Suppression Entries

Return one page of suppression entries for the connected account, optionally filtered by recipient, source, or creation date range.

List Webhook Batches

Return one page of webhook delivery batches, optionally filtered by creation time, response category, or endpoint.

List Webhooks

List all webhook endpoints enrolled for the connected MailChannels account.

Register Custom Tracking Domain

Register an owner-controlled hostname for click tracking, open tracking, or unsubscribe links.

Render Email

Render email content without delivering a message to any recipient.

Resend Webhook Batch

Synchronously create one new external delivery attempt for an existing webhook batch.

Rotate DKIM Key

Irreversibly rotate an active DKIM key: mark the existing key as rotated and create a replacement key.

Send Email

Deliver email to the specified recipients.

Send Email Asynchronously

Queue email for real, irreversible external delivery to the specified recipients.

Set Sub-account Limit

Set a sub-account's monthly send limit; setting zero prevents it from sending.

Suspend Sub-account

Suspend a sub-account and immediately prevent it from sending email until it is explicitly reactivated.

Update Custom Tracking Domain

Change the label or active status of one custom tracking domain identified by its exact hostname and event scope.

Update DKIM Key Status

Irreversibly revoke, retire, or begin rotating an existing DKIM key.

Validate All Webhooks

Create and send a test callback to every enrolled webhook endpoint, then report whether each endpoint returned a 2xx response.

SETUP GUIDE

Connect MailChannels MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["mail_channels"],
  mcp: true,
});
Create a session scoped to MailChannels and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Show my MailChannels domains and their DKIM status",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a MailChannels request
SETUP GUIDE

Connect MailChannels API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["mail_channels"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to MailChannels
3

Run MailChannels tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Show my MailChannels domains and their DKIM status" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the MailChannels tool calls through the session, and print the final answer

Why Use Composio?

AI Native MailChannels Integration

  • Supports both MailChannels MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable email and account tool execution
  • Rich coverage for delivery, domains, DKIM, metrics, webhooks, and suppressions

Managed Auth

  • Securely store and use your MailChannels API key without hard-coding it in agent prompts or application code
  • Central place to manage, scope, and revoke MailChannels access
  • Per-user and per-environment credentials for safer deployments

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Clear schemas help agents work with MailChannels domains, delivery data, and suppression records
  • Comprehensive execution logs show what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access MailChannels
  • Scoped, least privilege access to MailChannels resources
  • Full audit trail of agent actions to support review and compliance

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with MailChannels.It takes 30 seconds.

Managed auth, hosted MCP servers, and every MailChannels tool your agent needs.Free to start.

Start building