How to integrate MailChannels MCP with Atomic Agent

Connect Atomic Agent to MailChannels MCP. List mailchannels domains with dkim status, review mailchannels delivery metrics for yesterday, and more using natural language, with authentication handled for you.

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

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,700+ apps through Composio, including MailChannels.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a MailChannels account. See the Atomic Agent documentation for installation instructions.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate MailChannels with

How Atomic Agent connects to MailChannels

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect MailChannels to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in MailChannels. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your MailChannels account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the MailChannels MCP server, and what's possible with it?

The MailChannels MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your MailChannels account. It provides structured and secure access to transactional email delivery, domain authentication, DKIM management, sub-accounts, suppression lists, usage reporting, metrics, and webhooks, so your agent can send email, manage sending domains and credentials, monitor delivery performance, and handle webhook events on your behalf.

  • Transactional email delivery: Have your agent send email to specified recipients or queue messages for asynchronous delivery.
  • Domain and DKIM management: Direct your agent to check domain authentication, create or list DKIM keys, rotate active keys, and register custom tracking domains.
  • Sub-account administration: Let the agent create, suspend, activate, and delete sub-accounts, set monthly sending limits, and manage their API keys and SMTP passwords.
  • Suppression list control: Instruct your agent to add recipients to suppression lists, review suppression entries, or remove suppression protection for a recipient.
  • Delivery reporting and webhooks: Have your agent retrieve usage, volume, performance, engagement, recipient behavior, and sender metrics, then enroll webhooks and review or resend webhook deliveries.

Use MailChannels from Atomic Agent

With your account connected, ask Atomic Agent to work with MailChannels in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

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.

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