Appearance
Sim.ai
Fresh 🌱AgentMail's Sim.ai integration
Getting started
Sim.ai is a platform for building agentic workflows. By connecting AgentMail to Sim, your workflows can create inboxes, send and receive emails, manage threads, handle drafts, and organize conversations with labels, all without writing backend code.
Use cases
- Dynamic inbox creation: Spin up new inboxes on the fly for each agent, workflow, or customer for multi-tenant email handling.
- Automated email processing: List and read incoming messages, then trigger downstream actions based on content, sender, or labels.
- Conversational email: Reply to threads and forward messages to keep conversations flowing naturally within automated workflows.
- Draft and review workflows: Create drafts, update them with AI-generated content, and send when approved for human-in-the-loop patterns.
- Email organization: Apply labels to threads and messages to categorize, filter, and route emails through your automation pipeline.
Prerequisites
- An AgentMail account with an API key from the AgentMail Console
- A Sim.ai account
Setup
- Open your workflow in the Sim builder.
- Add the AgentMail block from the tools panel.
- Paste your AgentMail API key into the configuration.
- Select the operation you need (for example, create inbox, send message, or list threads).
- Map the input fields to your workflow data and connect the block to the rest of your flow.
Available operations
Once connected, Sim provides access to the following AgentMail operations:
Inbox management
| Operation | Description |
|---|---|
| Create inbox | Create a new inbox with an optional username, domain, and display name |
| Get inbox | Retrieve details for a specific inbox |
| Delete inbox | Delete an inbox |
Message operations
| Operation | Description |
|---|---|
| Send message | Send a new email from an inbox |
| Get message | Retrieve details of a specific message |
| Reply to message | Reply to an existing message in a thread |
| Forward message | Forward a message to new recipients |
Thread management
| Operation | Description |
|---|---|
| Get thread | Retrieve a thread and its messages |
| Delete thread | Delete a thread (moves to trash, or permanently deletes if already in trash) |
Draft management
| Operation | Description |
|---|---|
| Create draft | Create a new email draft in an inbox |
| Get draft | Retrieve details of a specific draft |
| Delete draft | Delete a draft |
Resources
- Sim.ai AgentMail tool documentation
- AgentMail API reference
- Webhooks overview