SentFromAI MCP server for AI agents and assistants

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.

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

Try SentFromAI now

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

TOOL ROUTER PLAYGROUND
SentFromAI
Try asking
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.

SETUP GUIDE

Connect SentFromAI 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: ["sentfromai"],
  mcp: true,
});
Create a session scoped to SentFromAI 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: "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();
Pass the session's MCP URL and headers to your agent and run a SentFromAI request
SETUP GUIDE

Connect SentFromAI 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: ["sentfromai"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to SentFromAI
3

Run SentFromAI tools with your agent

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);
Send a request, execute the SentFromAI tool calls through the session, and print the final answer

Why Use Composio?

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

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

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

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

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 SentFromAI.It takes 30 seconds.

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

Start building