How to integrate SentFromAI MCP with Hermes

Connect Hermes 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

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your SentFromAI account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

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

Also integrate SentFromAI with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,700+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating SentFromAI with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to SentFromAI

Ask your agent to connect to SentFromAI, or simply request any SentFromAI-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new SentFromAI connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to SentFromAI or request any SentFromAI-related task. It will prompt you to authenticate and authorize access.

5. Done!

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.

Way Forward

With SentFromAI connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

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