Agent Mail logo

Integrate Agent Mail with your AI CRM

AgentMail provides AI agents with their own email inboxes, enabling them to send, receive, and act upon emails for communication with services, people, and other agents.

Explore Triggers and Actions

New Email Received

Trigger for new emails in an AgentMail inbox

TriggerpollTry it

Create Inbox

Create a new AgentMail inbox via API. Returns the inbox_id and email address for sending/receiving messages. Use when provisioning new inboxes for agents or workflows.

ActionTry it

Get Message

Retrieve the complete details of a specific email message from an AgentMail inbox. This action returns the full message content including sender, recipients, subject, body (both text and HTML), attachments, labels, and metadata. Use this to read individual messages after discovering them via LIST_MESSAGES or webhooks.

ActionTry it

List Inboxes

List all inboxes available to the authenticated AgentMail account. Use this to discover valid inbox_id values for message operations.

ActionTry it

List Messages

List messages from an AgentMail inbox. Returns a `messages` array; each message uses `message_id` and `timestamp` fields (not `id`, `date`, or `items`).

ActionTry it

Send Email

Send an email using AgentMail API

ActionTry it

How the Agent Mail integration works

The Agent Mail integration connects your Dench AI CRM directly to Agent Mail, so agents can read and act on your Agent Mail data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.

5 actions are available for agents to invoke on your behalf, and 1 trigger can start a Dench automation the moment something changes in Agent Mail. Every call runs through Agent Mail's own authorization, scoped to the account you connect.

Set up Agent Mail in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

    Find Agent Mail and click Connect — you'll authorize access through Agent Mail's own sign-in flow. No API keys or code required.

  3. 3

    Ask an agent to use Agent Mail in chat, or wire a Agent Mail trigger into an automation.

  4. 4

    Manage or disconnect the connection any time from workspace settings.

Frequently asked questions

How does the Agent Mail integration work with Dench?

The Dench Agent Mail integration connects your AI CRM to Agent Mail, so AI agents can work with your Agent Mail data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.

What actions can AI agents perform with Agent Mail via Dench?

The Agent Mail integration currently exposes 5 actions, including Create Inbox, Get Message, List Inboxes, List Messages, and Send Email. Agents invoke them on your behalf from chat or from automations.

Can Dench react to events in Agent Mail automatically?

Yes. The Agent Mail integration provides 1 trigger — such as New Email Received — that can start a Dench automation the moment something happens in Agent Mail.

Do I need to write code to connect Agent Mail to Dench?

No. You connect Agent Mail from your Dench workspace using Agent Mail's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.

Is the Agent Mail integration secure?

Connections are authorized through Agent Mail's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the Agent Mail connection from your workspace settings at any time.

Agent Mail | Dench AI CRM