# SentFromAI

```json
{
  "name": "SentFromAI",
  "slug": "sentfromai",
  "url": "https://composio.dev/toolkits/sentfromai",
  "markdown_url": "https://composio.dev/toolkits/sentfromai.md",
  "logo_url": "https://logos.composio.dev/api/sentfromai",
  "categories": [
    "collaboration & communication"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-11-19T05:36:48.827Z"
}
```

![SentFromAI logo](https://logos.composio.dev/api/sentfromai)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with SentFromAI MCP or direct API to manage inboxes, send messages, create drafts, and organize threads through natural language.

## Summary

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.

## Categories

- collaboration & communication

## Toolkit Details

- Tools: 40

## Images

- Logo: https://logos.composio.dev/api/sentfromai

## Authentication

- **No Auth**
  - Type: `custom`
  - Description: No Auth authentication for SentFromAI.
  - Setup:
    - Configure No Auth credentials for SentFromAI.
    - Use the credentials when creating an auth config in Composio.
- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for SentFromAI.
  - Setup:
    - Configure Api Key credentials for SentFromAI.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Create a SentFromAI inbox for customer support
- List unread messages in my SentFromAI inbox
- Draft a SentFromAI reply to a customer

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

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to SentFromAI
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["sentfromai"])
tools = session.tools()
```

```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: ["sentfromai"] });
const tools = await session.tools();
```

#### Path 1, Step 3: Run SentFromAI tools with your agent

Send a request, execute the SentFromAI tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "Send an email from my SentFromAI inbox to alex@example.com with subject 'Project update' and body 'The launch plan is ready for review.'"}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Send an email from my SentFromAI inbox to alex@example.com with subject 'Project update' and body 'The launch plan is ready for review.'" }],
});

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);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to SentFromAI and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["sentfromai"], mcp=True)
```

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

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["sentfromai"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a SentFromAI request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to SentFromAI tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("Send an email from my SentFromAI inbox to alex@example.com with subject 'Project update' and body 'The launch plan is ready for review.'")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```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: "Send an email from my SentFromAI inbox to alex@example.com with subject 'Project update' and body 'The launch plan is ready for review.'",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
```

## Why Use Composio?

### 1. AI Native SentFromAI Integration

- Supports both SentFromAI MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable inbox, message, and thread actions
- Rich coverage for reading, writing, and querying your SentFromAI data

### 2. Flexible Auth

- Supports SentFromAI's no-auth and API key connection options
- Securely store and apply API keys without hard-coding credentials in agent prompts
- Use separate credentials and access scopes for each user and environment

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

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

## Use SentFromAI with any AI Agent Framework

Choose a framework you want to connect 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)
- [Atomic Agent](https://composio.dev/toolkits/sentfromai/framework/atomic-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

### Do I need my own developer credentials to use SentFromAI with Composio?

Yes, SentFromAI supports no-auth access, while API key connections require your own API key. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

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