# How to integrate SentFromAI MCP with Atomic Agent

```json
{
  "title": "How to integrate SentFromAI MCP with Atomic Agent",
  "toolkit": "SentFromAI",
  "toolkit_slug": "sentfromai",
  "framework": "Atomic Agent",
  "framework_slug": "atomic-agent",
  "url": "https://composio.dev/toolkits/sentfromai/framework/atomic-agent",
  "markdown_url": "https://composio.dev/toolkits/sentfromai/framework/atomic-agent.md",
  "updated_at": "2026-11-19T05:36:48.827Z"
}
```

## 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](https://atomicagent.io/docs/?cta_placement=atomic-agent-docs) for installation instructions.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/sentfromai).

## Also integrate SentFromAI with

- [ChatGPT](https://composio.dev/toolkits/sentfromai/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/sentfromai/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/sentfromai/framework/hermes-agent)

## TL;DR

### 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

### Connect SentFromAI to Atomic Agent
- Sign up or sign in to the [Composio dashboard](https://dashboard.composio.dev/?cta_placement=atomic-agent-api-key). Copy your API key.
- 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.
- Ask Atomic Agent to do something in SentFromAI. It searches Composio for the right tool.
- 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.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `SENTFROMAI_ASSIGN_LABEL` | Assign Label | Assign an existing label to one message. |
| `SENTFROMAI_ASSIGN_LABEL_BATCH` | Assign Label Batch | Assign one existing label to 1-25 unique message IDs with one sequential SentFromAI request per ID. Duplicate IDs are rejected before any request. The operation is non-atomic and preserves caller order. Successful responses and transport-unknown outcomes are returned in order because successful entries are not rolled back. A missing provider response is unknown: verify that message's label state before retrying and never retry based on an assumed failure. Every non-200 provider response stops the batch with a typed error containing the complete ordered processed prefix and current rejection; no remaining requests run. A Keyring proxy failure also stops immediately because the current provider outcome may be unknown and must be checked before retrying. |
| `SENTFROMAI_CREATE_AGENT_SIGNUP` | Create Agent Signup | Create an irreversible SentFromAI tenant, receive-only inbox, API key, and private claim URL when staged agent signup is enabled. The provider documents this endpoint as unauthenticated, so no prior SentFromAI credential is required. Save the idempotency secret and exact body before calling, then preserve all returned credentials privately. |
| `SENTFROMAI_CREATE_DELIVERY_RULE` | Create Delivery Rule | Create an inbound or outbound allow/block rule for addresses matching a pattern. |
| `SENTFROMAI_CREATE_DOMAIN` | Create Domain | Add a custom sending domain and return the DNS records required to configure it. This paid capability requires the SentFromAI Pro plan with the customDomains entitlement; use Get Account Status to confirm that entitlement before calling this action. Free accounts receive a plan-upgrade error. |
| `SENTFROMAI_CREATE_DRAFT` | Create Draft | Create an editable email draft for a new message or reply. Optionally schedule future irreversible delivery with scheduled_at; confirm recipients and content before scheduling. |
| `SENTFROMAI_CREATE_INBOX` | Create Inbox | Create an email inbox in the connected workspace, using the system domain unless a domain ID is supplied. |
| `SENTFROMAI_CREATE_LABEL` | Create Label | Create a reusable message label with an optional display color. |
| `SENTFROMAI_CREATE_SUBDOMAIN` | Create Subdomain | Provision a dedicated sending subdomain and return the DNS records required to configure it. Requires the Scale plan with custom-domain capability. |
| `SENTFROMAI_CREATE_WEBHOOK` | Create Webhook | Register a public HTTPS callback URL to receive selected SentFromAI events. |
| `SENTFROMAI_DELETE_DELIVERY_RULE` | Delete Delivery Rule | Delete one allow/block delivery rule by ID. |
| `SENTFROMAI_DELETE_DOMAIN` | Delete Domain | Delete one sending domain by UUID. |
| `SENTFROMAI_DELETE_DRAFT` | Delete Draft | Delete one existing email draft by ID without sending it. |
| `SENTFROMAI_DELETE_INBOX` | Delete Inbox | Delete one inbox by ID. |
| `SENTFROMAI_DELETE_LABEL` | Delete Label | Delete one reusable message label by ID. |
| `SENTFROMAI_DELETE_WEBHOOK` | Delete Webhook | Delete one webhook subscription by ID. |
| `SENTFROMAI_FORWARD_MESSAGE` | Forward Message | Immediately and irreversibly forward a SentFromAI message to new recipients. The forward creates a new thread. Confirm recipients before calling. |
| `SENTFROMAI_GET_ACCOUNT_STATUS` | Get Account Status | Return the connected account's onboarding state, capabilities, limits, usage, inboxes, and sending status for workflow preflight. |
| `SENTFROMAI_GET_ATTACHMENT` | Get Attachment | Retrieve one message attachment. Current first-party sources document either attachment content or a fresh short-lived signed download URL; both response shapes are accepted. |
| `SENTFROMAI_GET_DOMAIN` | Get Domain | Get one sending domain with its verification state and required DNS records. |
| `SENTFROMAI_GET_DRAFT` | Get Draft | Get one draft's documented identity, inbox, subject, status, and schedule. Optional compatibility fields are returned when the provider includes them. |
| `SENTFROMAI_GET_MESSAGE` | Get Message | Get one message's body, participants, labels, delivery state, thread ID, and attachment metadata by message ID. |
| `SENTFROMAI_GET_THREAD` | Get Thread | Get one email thread with its embedded messages in conversation order. |
| `SENTFROMAI_LIST_DELIVERY_RULES` | List Delivery Rules | List inbound and outbound allow/block rules configured in the connected workspace. |
| `SENTFROMAI_LIST_DOMAINS` | List Domains | List system and custom sending domains with their verification and mail configuration status. |
| `SENTFROMAI_LIST_DRAFTS` | List Drafts | List compact summaries of all current email drafts in the connected workspace. |
| `SENTFROMAI_LIST_INBOXES` | List Inboxes | List the email inboxes in the connected workspace and return the IDs and addresses needed by message and draft actions. |
| `SENTFROMAI_LIST_LABELS` | List Labels | List reusable message labels configured in the connected workspace. |
| `SENTFROMAI_LIST_THREADS` | List Threads | List compact email thread summaries, optionally restricted to one inbox. |
| `SENTFROMAI_LIST_WEBHOOKS` | List Webhooks | List webhook subscriptions configured in the connected workspace. |
| `SENTFROMAI_REFRESH_ACCOUNT_CLAIM_LINK` | Refresh Account Claim Link | Create a new private claim link for the connected account. This applies only while the account is active and unclaimed, requires its existing API key, and does not rotate that key or extend account lifetime. Keep the returned URL private and give it only to the actual operator in an existing trusted chat. |
| `SENTFROMAI_REPLY_TO_MESSAGE` | Reply to Message | Immediately and irreversibly send a reply in the source message's thread, optionally including all original participants. Confirm the reply content and participants before calling. |
| `SENTFROMAI_SEARCH_MESSAGES` | Search Messages | Search messages by text, or list recent messages when query is omitted, optionally limited to one inbox. |
| `SENTFROMAI_SEND_DRAFT` | Send Draft | Immediately and irreversibly send an existing SentFromAI draft that is in a sendable state. Confirm its recipients and content before calling. |
| `SENTFROMAI_SEND_MESSAGE` | Send Message | Immediately and irreversibly send a new email from a SentFromAI inbox. Supports CC, BCC, plain text, HTML, threading headers, idempotency, and base64-encoded attachments. Confirm recipients and content before calling. |
| `SENTFROMAI_SET_DMARC_POLICY` | Set DMARC Policy | Set a domain's DMARC enforcement policy and return the DNS record that must be published. |
| `SENTFROMAI_UNASSIGN_LABEL` | Unassign Label | Remove an existing label assignment from one message without deleting the label. |
| `SENTFROMAI_UNASSIGN_LABEL_BATCH` | Unassign Label Batch | Remove one existing label from 1-25 unique message IDs with one sequential SentFromAI request per ID. Duplicate IDs are rejected before any request. The operation is non-atomic and preserves caller order. Successful responses and transport-unknown outcomes are returned in order because successful entries are not rolled back. A missing provider response is unknown: verify that message's label state before retrying and never retry based on an assumed failure. Every non-200 provider response stops the batch with a typed error containing the complete ordered processed prefix and current rejection; no remaining requests run. A Keyring proxy failure also stops immediately because the current provider outcome may be unknown and must be checked before retrying. |
| `SENTFROMAI_UPDATE_DRAFT` | Update Draft | Replace the editable fields of an existing email draft. Optionally schedule future irreversible delivery with scheduled_at; confirm recipients and content before scheduling. |
| `SENTFROMAI_VERIFY_DOMAIN` | Verify Domain | Re-check a domain's published DNS records and return its current verification status. |

## Supported Triggers

None listed.

## 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](/pricing/platform) for the current limits that apply to your connection.

## Complete Code

None listed.

## Conclusion

### 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](https://atomicagent.io/?cta_placement=atomic-agent-site) or inspect the [Atomic Agent source code](https://github.com/AtomicBot-ai/atomic-agent?cta_placement=atomic-agent-repo).

## How to build SentFromAI MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/sentfromai/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/sentfromai/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/sentfromai/framework/hermes-agent)

## Related Toolkits

- [Gmail](https://composio.dev/toolkits/gmail) - Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.
- [Outlook](https://composio.dev/toolkits/outlook) - Outlook is Microsoft's email and calendaring platform for unified communications and scheduling. It helps users stay organized with powerful email, contacts, and calendar management.
- [Slack](https://composio.dev/toolkits/slack) - Slack is a channel-based messaging platform for teams and organizations. It helps people collaborate in real time, share files, and connect all their tools in one place.
- [Gong](https://composio.dev/toolkits/gong) - Gong is a platform for video meetings, call recording, and team collaboration. It helps teams capture conversations, analyze calls, and turn insights into action.
- [Microsoft teams](https://composio.dev/toolkits/microsoft_teams) - Microsoft Teams is a collaboration platform that combines chat, meetings, and file sharing within Microsoft 365. It keeps distributed teams connected and productive through seamless virtual communication.
- [Slackbot](https://composio.dev/toolkits/slackbot) - Slackbot is a conversational automation tool for Slack that handles reminders, notifications, and automated responses. It boosts team productivity by streamlining onboarding, answering FAQs, and managing timely alerts—all right inside Slack.
- [2chat](https://composio.dev/toolkits/_2chat) - 2chat is an API platform for WhatsApp and multichannel text messaging. It streamlines chat automation, group management, and real-time messaging for developers.
- [Agent mail](https://composio.dev/toolkits/agent_mail) - Agent mail provides AI agents with dedicated email inboxes for sending, receiving, and managing emails. It empowers agents to communicate autonomously with people, services, and other agents—no human intervention needed.
- [Aircall](https://composio.dev/toolkits/aircall) - Aircall is a cloud-based phone and call-center platform for business communications. It centralizes calls, contacts, teams, numbers, and tags in one place.
- [Android Texter](https://composio.dev/toolkits/android_texter) - Android Texter is an API service that connects Android phones to SMS, MMS, contacts, and device data. Use it to automate mobile messaging without building your own phone-to-API bridge.
- [Basecamp](https://composio.dev/toolkits/basecamp) - Basecamp is a project management and team collaboration tool by 37signals. It helps teams organize tasks, share files, and communicate efficiently in one place.
- [Blooio](https://composio.dev/toolkits/blooio) - Blooio is a stable v2 API platform for messaging, chats, contacts, groups, phone numbers, and account analytics. It gives teams a clean way to build reliable communication workflows without stitching together fragile custom APIs.
- [Callback24](https://composio.dev/toolkits/callback24) - Callback24 is a telephony API for managing phone calls, users, services, and routing groups. It centralizes call control and routing to automate voice workflows and operations.
- [CallOnTheGo](https://composio.dev/toolkits/callonthego) - CallOnTheGo is a telephony API for managing phone numbers, caller IDs, suppression lists, audio assets, contact lists, and Voice AI campaigns. It provides programmatic control over calling infrastructure and campaign automation for scalable voice outreach.
- [Carbon Voice MCP](https://composio.dev/toolkits/carbon_voice_mcp) - Carbon Voice MCP is a voice-first collaboration platform for messages, conversations, and workflows. Use it to centralize voice communications and streamline team collaboration.
- [CardClan](https://composio.dev/toolkits/cardclan) - CardClan is a digital card platform for creating and sending personalized team cards. Use it to celebrate moments, share card links, and manage card workflows without extra coordination.
- [Chatwork](https://composio.dev/toolkits/chatwork) - Chatwork is a team communication platform with group chats, file sharing, and task management. It helps businesses boost collaboration and streamline productivity.
- [Clickmeeting](https://composio.dev/toolkits/clickmeeting) - ClickMeeting is a cloud-based platform for running online meetings and webinars. It helps businesses and individuals host, manage, and engage virtual audiences with ease.
- [Confluence](https://composio.dev/toolkits/confluence) - Confluence is Atlassian's team collaboration and knowledge management platform. It helps your team organize, share, and update documents and project content in one secure workspace.
- [Daily](https://composio.dev/toolkits/daily) - Daily is a WebRTC video and audio API platform for building rooms, meetings, recordings, live streams, transcriptions, and telephony. It gives developers reliable real-time media infrastructure without managing complex conferencing stacks.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and SentFromAI MCP?

With a standalone SentFromAI MCP server, the agents and LLMs can only access a fixed set of SentFromAI tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from SentFromAI and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Atomic Agent?

Yes, you can. Atomic Agent fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right SentFromAI tools.

### Can I manage the permissions and scopes for SentFromAI while using Tool Router?

Yes, absolutely. You can configure which SentFromAI scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your SentFromAI data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
