How to integrate SentFromAI MCP with Atomic Agent

Connect Atomic Agent to SentFromAI MCP. Create a sentfromai inbox for customer support, list unread messages in your sentfromai inbox, and more using natural language, with authentication handled for you.

SentFromAI logoSentFromAI
No AuthApi Key

SentFromAI is email infrastructure built for AI agents, with inboxes, messages, threads, drafts, and webhooks. It gives agents a focused way to send, receive, and organize email.

40 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 SentFromAI.

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 SentFromAI 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 SentFromAI with

How Atomic Agent connects to SentFromAI

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 SentFromAI 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 SentFromAI. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your SentFromAI 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 SentFromAI MCP server, and what's possible with it?

The SentFromAI MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your SentFromAI account. It provides structured and secure access to your email infrastructure, so your agent can search messages, read threads, create drafts, and send or reply to emails on your behalf.

  • Message and thread management: Have your agent search recent or matching messages, read full message content, and retrieve complete email threads from your SentFromAI inboxes.
  • Email sending and replies: Direct your agent to send new emails, reply within an existing thread, or forward messages to new recipients.
  • Draft organization: Let the agent create, update, list, send, or delete email drafts when messages need review or later delivery.
  • Labels and inbox organization: Instruct your agent to create labels, apply or remove them from messages, and list available inboxes and labels.
  • Delivery and domain administration: Have your agent manage sending domains, check verification status, configure DMARC policies, create delivery rules, and register or manage webhooks.

Use SentFromAI from Atomic Agent

With your account connected, ask Atomic Agent to work with SentFromAI 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 SentFromAI action and event your agent gets out of the box.

Assign Label

Assign an existing label to one message.

Assign Label Batch

Assign one existing label to 1-25 unique message IDs with one sequential SentFromAI request per ID.

Create Agent Signup

Create an irreversible SentFromAI tenant, receive-only inbox, API key, and private claim URL when staged agent signup is enabled.

Create Delivery Rule

Create an inbound or outbound allow/block rule for addresses matching a pattern.

Create Domain

Add a custom sending domain and return the DNS records required to configure it.

Create Draft

Create an editable email draft for a new message or reply.

Create Inbox

Create an email inbox in the connected workspace, using the system domain unless a domain ID is supplied.

Create Label

Create a reusable message label with an optional display color.

Create Subdomain

Provision a dedicated sending subdomain and return the DNS records required to configure it.

Create Webhook

Register a public HTTPS callback URL to receive selected SentFromAI events.

Delete Delivery Rule

Delete one allow/block delivery rule by ID.

Delete Domain

Delete one sending domain by UUID.

Delete Draft

Delete one existing email draft by ID without sending it.

Delete Inbox

Delete one inbox by ID.

Delete Label

Delete one reusable message label by ID.

Delete Webhook

Delete one webhook subscription by ID.

Forward Message

Immediately and irreversibly forward a SentFromAI message to new recipients.

Get Account Status

Return the connected account's onboarding state, capabilities, limits, usage, inboxes, and sending status for workflow preflight.

Get Attachment

Retrieve one message attachment.

Get Domain

Get one sending domain with its verification state and required DNS records.

Get Draft

Get one draft's documented identity, inbox, subject, status, and schedule.

Get Message

Get one message's body, participants, labels, delivery state, thread ID, and attachment metadata by message ID.

Get Thread

Get one email thread with its embedded messages in conversation order.

List Delivery Rules

List inbound and outbound allow/block rules configured in the connected workspace.

List Domains

List system and custom sending domains with their verification and mail configuration status.

List Drafts

List compact summaries of all current email drafts in the connected workspace.

List Inboxes

List the email inboxes in the connected workspace and return the IDs and addresses needed by message and draft actions.

List Labels

List reusable message labels configured in the connected workspace.

List Threads

List compact email thread summaries, optionally restricted to one inbox.

List Webhooks

List webhook subscriptions configured in the connected workspace.

Refresh Account Claim Link

Create a new private claim link for the connected account.

Reply to Message

Immediately and irreversibly send a reply in the source message's thread, optionally including all original participants.

Search Messages

Search messages by text, or list recent messages when query is omitted, optionally limited to one inbox.

Send Draft

Immediately and irreversibly send an existing SentFromAI draft that is in a sendable state.

Send Message

Immediately and irreversibly send a new email from a SentFromAI inbox.

Set DMARC Policy

Set a domain's DMARC enforcement policy and return the DNS record that must be published.

Unassign Label

Remove an existing label assignment from one message without deleting the label.

Unassign Label Batch

Remove one existing label from 1-25 unique message IDs with one sequential SentFromAI request per ID.

Update Draft

Replace the editable fields of an existing email draft.

Verify Domain

Re-check a domain's published DNS records and return its current verification status.

FAQ

Frequently asked questions

Start with SentFromAI.It takes 30 seconds.

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

Start building