New Email Received
Trigger for new emails in an AgentMail inbox
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.
Trigger for new emails in an AgentMail 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.
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.
List all inboxes available to the authenticated AgentMail account. Use this to discover valid inbox_id values for message operations.
List messages from an AgentMail inbox. Returns a `messages` array; each message uses `message_id` and `timestamp` fields (not `id`, `date`, or `items`).
Send an email using AgentMail API
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.
Sign in to your Dench workspace and open Integrations.
Find Agent Mail and click Connect — you'll authorize access through Agent Mail's own sign-in flow. No API keys or code required.
Ask an agent to use Agent Mail in chat, or wire a Agent Mail trigger into an automation.
Manage or disconnect the connection any time from workspace settings.
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.
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.
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.
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.
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.