canonical: https://jentic.com/apis/sentfrom.ai/sentfrom

# Sentfrom SentFromAI API

The SentFromAI API gives an AI agent its own email inboxes, then sends, receives, threads, and searches the mail that flows through them. Beyond sending a message with to, cc, bcc, and attachments, it supports replies and forwards inside a thread, drafts with a scheduled_at time, labels, allow and block lists, and webhooks for new events. Message search accepts a keyword, semantic, or hybrid mode, and custom domains can be added, verified, and given a DMARC policy.

## For AI agents

Create agent inboxes, send, reply to, and forward email, search messages by keyword or meaning, and manage drafts, labels, webhooks, and custom sending domains.

## Scope

Does not handle SMS, voice calls, or bulk marketing campaigns. Use for agent email inboxes, threads, drafts, and sending domains only.

## Capabilities

- Create a dedicated inbox from a local_part and optional display_name for each agent
- Send a message from an inbox with subject, text or html body, cc, bcc, and attachments
- Reply in thread or forward an existing message, with reply_all support on replies
- Search messages in keyword, semantic, or hybrid mode, optionally filtered by inbox_id
- Stage drafts with a scheduled_at time, edit them, and send them when ready
- Register webhooks for mail events and add allow or block rules for inbound and outbound addresses
- Add a custom domain or dedicated subdomain, re-check its verification, and set its DMARC policy

## Use cases

### AI Agent Email Through Jentic

An agent that handles correspondence can use SentFromAI through Jentic without hand-wiring bearer auth or reading the reference. The agent searches by intent, such as 'send an email from my agent's inbox', receives the sendMessage operation with its input schema, and calls it with the inbox_id, recipients, and subject. Replies and searches follow the same discovery path, so the agent reads and answers mail in one loop.

Example prompt: Search Jentic for 'send an email from my agent's inbox', load sendMessage, and call it with inbox_id, to 'ops@example.com', subject 'Weekly report ready', and a short text body

### Threaded Customer Replies

A support or sales agent needs to keep conversations in one thread instead of starting new ones. SentFromAI lists threads per inbox, returns a thread with all of its messages, and replies to a specific message in thread with a text or html body and an optional reply_all flag. The agent reads context first and answers in place, which keeps the recipient's mail client grouping intact.

Example prompt: Call GET /threads with inbox_id to find the latest thread, GET `/threads/{id}` to read its messages, then POST `/messages/{id}/reply` with a text answer to the last message

### Inbox Search by Meaning

Agents often need to find a past email without knowing its exact wording. The SentFromAI search operation takes a query plus a mode of keyword, semantic, or hybrid, and can be limited to one inbox_id, so the agent can ask for 'messages about a refund' and get back matching messages to read in full.

Example prompt: Call GET /messages with query 'refund request', mode 'hybrid', and the support inbox_id, then GET `/messages/{id}` on the top result

### Scheduled Drafts and Event Webhooks

Some messages should wait for review or a set time. The agent creates a draft with an inbox_id, subject, body, and scheduled_at, edits it with an update, and sends it on demand. Webhooks registered with a url and a list of events let the developer's own service react when new mail arrives instead of polling.

Example prompt: Create a draft via POST /drafts with inbox_id, to, subject 'Follow-up', text, and scheduled_at '2026-12-01T09:00:00Z', then register POST /webhooks with url 'https://example.com/hooks/mail'

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/inboxes` | Create an inbox |
| POST | `/messages` | Send a message |
| GET | `/messages` | Search messages |
| POST | `/messages/{id}/reply` | Reply in thread |
| GET | `/threads/{id}` | Get a thread with messages |
| POST | `/drafts` | Create a draft |
| POST | `/webhooks` | Register a webhook |
| POST | `/domains` | Add a custom domain |

## Key resources

- **Inboxes** — Create, list, and delete agent inboxes
- **Messages** — Send, search, read, reply to, and forward messages
- **Threads** — List threads and read a thread with its messages
- **Drafts** — Create, edit, schedule, send, and delete drafts
- **Webhooks and Lists** — Register event webhooks and allow or block address patterns
- **Domains** — Add custom domains or subdomains, verify them, and set DMARC policy

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 54 / 100
- **Maturity:** Foundational
- **Dimensions:**
  - Foundational Compliance: 73 / 100
  - Developer Experience & Jentic Compatibility: 59 / 100
  - AI-Readiness & Agent Experience: 39 / 100
  - Agent Usability: 94 / 100
  - Security: 60 / 100
  - AI Discoverability: 35 / 100
- **View full report:** https://jentic.com/apis/sentfrom.ai/sentfrom/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the SentFromAI API by hand means attaching its bearer token to every call, tracking inbox, thread, and message ids across requests, and keeping custom domain verification in step yourself. Through Jentic you install once, import SentFromAI from the API Directory, store the token once, and your agent calls it.
- **Permission scoping:** SentFromAI carries the sending inbox_id in the request body, so rules bound which operations your agent may call, not which inbox it sends from. You choose the operations it may call, so destructive ones like deleteInbox or deleteDomain are not included unless you add them.
- **Credential handling:** Your SentFromAI token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'reply to an email thread' or 'search my inbox', and Jentic returns the matching SentFromAI operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **MyAgentMail API** — Another email inbox service built for AI agents
- **Resend API** — Developer email sending API focused on outbound transactional mail
- **Svix API** — Webhook delivery service for sending events to your users' endpoints

## FAQ

### Is there a SentFromAI MCP server?

You don't need an MCP server to give your agent the SentFromAI API. Jentic connects it directly from the API Directory: import it, store your token once, and your agent calls the inbox, message, and draft operations it needs, discovered on demand rather than loaded into its context up front.

### Can I limit what my agent is allowed to do with the SentFromAI API?

Yes. For a read-and-draft assistant, write a rule that allows searchMessages, getMessage, getThread, and createDraft. The agent can read mail and prepare drafts for review, while sendMessage, deleteInbox, and the domain operations stay outside its reach, and every call it makes is logged by your self-hosted instance.

### What authentication does the SentFromAI API use?

Per its OpenAPI spec, the SentFromAI API uses HTTP bearer authentication: send the API key as a Bearer token in the Authorization header. One operation, POST /agent-signups, is declared without security and instead requires an Idempotency-Key header to bootstrap a new agent account. Through Jentic the token is stored encrypted by your own Jentic One instance and injected at call time.

### Can I search an inbox by meaning with the SentFromAI API?

Yes. GET /messages accepts a query plus a mode parameter of keyword, semantic, or hybrid, and an optional inbox_id and limit. The response reports mode_used alongside the matching messages, so the agent knows which search mode actually ran.

### What are the rate limits for the SentFromAI API?

The OpenAPI spec does not state numeric rate limits. GET /account returns the account's state, capabilities, and limits, so an agent can read its current allowance directly; check https://sentfrom.ai for plan details.

### How do I send an email from my agent's inbox through Jentic?

Search Jentic for 'send an email from my agent's inbox' and it returns sendMessage with its input schema. Supply inbox_id, to, and subject (all required) plus a text or html body, and the message goes out from that inbox. To run it on your own infrastructure, install Jentic One from its GitHub repo.
