Add Agent Mail to your AI agent
AgentMail provides programmable email inboxes, messages, drafts, domains, webhooks, and related infrastructure for AI agents.
- Things your agent can do in Agent Mail
- 93
Things your AI can do in Agent Mail
Your FormWise AI can handle any of these in Agent Mail — on its own, without you needing to click a button.
Create Inbox
PopularCreate 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.
Create Inbox API Key
PopularCreate an inbox-scoped bearer key and return its one-time secret. Omitting permissions grants all permissions available within the inbox scope.
List Inboxes
PopularList all inboxes available to the authenticated AgentMail account. Use this to discover valid inbox_id values for message operations.
Batch Get Messages
Return metadata for up to 500 messages from one inbox in a single request. Compare count with limit to detect missing or restricted IDs. Source or target records with spam, blocked, unauthenticated, or trash labels may be hidden or reported not found when the API key lacks the corresponding label visibility permission.
Batch Update Message Labels
Atomically add or remove the same labels on up to 50 messages in one inbox. Missing or restricted message IDs are omitted from the result. Source or target records with spam, blocked, unauthenticated, or trash labels may be hidden or reported not found when the API key lacks the corresponding label visibility permission.
Complete File Upload
Mark a pending Agent Drive file ready after its bytes have been PUT to the presigned URL returned by CREATE_FILE. AgentMail verifies the exact declared size and SHA-256; calling this before a successful upload returns a conflict. Only a key with file_read or the key that created the file can complete it. Agent Drive is a US-production-only Labs feature.
Create Agent Armor Feedback
Record whether Agent Armor's completed verdict on a message was correct. A message accepts up to 20 feedback records.
Create Calendar Event
Create a one-off or recurring event on a US-only inbox calendar. client_id makes retries safe; send_invites emails attendees and consumes send limits.
Create Draft
Create a draft, optionally scheduling its automatic delivery with send_at.
Create File
Initialize a pending Agent Drive file and return instructions for a direct storage upload. This does not upload bytes: PUT the exact bytes to the credential-sensitive presigned URL with every returned header unchanged and without the AgentMail API key, then call COMPLETE_FILE_UPLOAD. Identical requests are retry-safe. Pending files consume Drive quota immediately and expire after one day if incomplete; call DELETE_FILE when abandoning an upload. Agent Drive is a US-production-only Labs feature.
Create Inbox in Pod
Create an inbox inside an explicitly selected AgentMail pod, optionally choosing its address, initial status, idempotency ID, and metadata.
Create Inbox Polling Webhook
Create or resume a polling webhook scoped to one inbox. The inbox comes from the path, so organization selector lists are not accepted. AgentMail's polling guide currently says polling is US-only even though the API reference lists an EU server; follow the guide and do not assume EU support. The response contains a one-time credential-sensitive polling token; store it securely and never log or expose it.
Show 81 more things it can do
Create Inbox Webhook
Create a regular webhook scoped to one AgentMail inbox for a non-empty set of event types. The response contains a credential-sensitive signature secret; never log or expose it.
Create Allowlist or Blocklist Entry
Add an email address or domain to an organization-wide send, receive, or reply allowlist or blocklist.
Create Pod
Create an AgentMail pod for grouping inboxes and related resources.
Create Polling Webhook
Create or resume an organization-level polling webhook for a non-empty set of event types, optionally filtered to at most 10 inboxes and pods combined. Current provider polling support is US-only (api.agentmail.to); do not use this action with an EU connection. The response contains a one-time, credential-sensitive polling token; store it securely and never log or expose it.
Create Webhook
Create an organization-level webhook for a non-empty set of event types, optionally filtered to at most 10 inboxes and pods combined. The response contains a credential-sensitive signature secret; never log or expose it.
Delete Calendar Event
Accept asynchronous deletion of a US-only calendar event or cancel recurring dates. If-Match guards the version and Idempotency-Key makes retries deterministic.
Delete Draft
Permanently delete one unsent draft from an inbox.
Delete File
Permanently delete a pending or ready Agent Drive file and free its path. A previously issued presigned download URL can remain valid until its expiry. Requires file_delete, and only a key with file_read or the key that created the file can delete it. Agent Drive is a US-production-only Labs feature.
Delete Inbox
Permanently delete one inbox by ID. AgentMail accepts the deletion asynchronously, so acceptance does not guarantee immediate completion.
Delete Inbox Polling Webhook
Permanently delete an inbox-scoped polling webhook by webhook_id or client_id, invalidate its polling token, and free its subscription slot. AgentMail's polling guide currently says polling is US-only even though the API reference lists an EU server; follow the guide and do not assume EU support.
Delete Inbox Webhook
Permanently delete a regular webhook created for a selected AgentMail inbox and stop future deliveries.
Delete Allowlist or Blocklist Entry
Remove one email address or domain from an organization-wide send, receive, or reply allowlist or blocklist.
Delete Message
Permanently delete one message from an inbox. Source or target records with spam, blocked, unauthenticated, or trash labels may be hidden or reported not found when the API key lacks the corresponding label visibility permission.
Delete Pod
Permanently delete one AgentMail pod by its unique ID.
Delete Pod Inbox
Permanently delete an inbox through its explicitly selected AgentMail pod, preserving the pod tenant boundary. A 202 response means deletion continues asynchronously; poll GET_POD_INBOX until it returns 404.
Delete Polling Webhook
Permanently delete an organization-level polling webhook by webhook_id or client_id, invalidate its polling token, and free its subscription slot. Current provider polling support is US-only (api.agentmail.to); do not use this action with an EU connection.
Delete Thread
Permanently delete one AgentMail thread and all of its messages.
Delete Webhook
Permanently delete an organization-level webhook and stop future deliveries.
Forward Message
Immediately forward an existing message to new recipients with optional added content and attachments. Source or target records with spam, blocked, unauthenticated, or trash labels may be hidden or reported not found when the API key lacks the corresponding label visibility permission.
Get Agenda
Get one page of non-cancelled calendar dates in a UTC window, expanding recurring events and ordering dates by start time. Calendar is available only in US production.
Get API Key
Retrieve API-key metadata without exposing bearer secret values.
Get Calendar
Get an inbox's US-only calendar settings, event count, and ETag. Use primary consistency to read a just-completed write.
Get Calendar Event
Get the full current form of a US-only calendar event or recurring-event date, including its opaque ETag for conditional mutations.
Get Current Identity
Return the connected AgentMail identity and its organization, pod, or inbox access boundary without exposing the credential itself.
Get Domain
Return an AgentMail custom domain, its domain and tracking verification statuses, and all required DNS records.
Get Domain Setup Link
Build a one-click Domain Connect DNS setup link when supported. The returned signed URL must be delivered privately to the intended domain owner. Retain the sensitive state ephemerally and compare it on redirect; do not log either value.
Get Domain Zone File
Download the AgentMail-generated DNS zone file for a custom domain as a bounded binary file reference.
Get Draft
Retrieve the complete contents and scheduling details of one draft.
Get Draft Attachment
Get a temporary download reference for one draft attachment.
Get File
Get Agent Drive file metadata. A ready file can include a credential-sensitive presigned download URL valid for up to one hour; treat it as a secret and never log or expose it. Requires file_read. Agent Drive is a US-production-only Labs feature.
Get Inbox
Retrieve one AgentMail inbox and its metadata by ID or email address.
Get Inbox Polling Webhook
Get one inbox-scoped polling webhook by webhook_id or client_id. AgentMail's polling guide currently says polling is US-only even though the API reference lists an EU server; follow the guide and do not assume EU support. The polling token is never returned; create again with the same client_id to issue a new token.
Get Inbox Webhook
Get one regular webhook created for a selected AgentMail inbox. The response contains a credential-sensitive signature secret; never log or expose it.
Get Inbox Webhook Headers
List only the names of custom delivery headers on an inbox-scoped regular webhook. Header values are credential-sensitive, write-only, and never returned.
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.
Get Message Attachment
Get a temporary download reference for one message attachment. Source or target records with spam, blocked, unauthenticated, or trash labels may be hidden or reported not found when the API key lacks the corresponding label visibility permission.
Get Organization
Return the connected AgentMail organization's identifiers, current inbox and domain counts, configured resource limits, and timestamps.
Get Pod
Retrieve one AgentMail pod by its unique ID.
Get Pod Inbox
Get an AgentMail inbox through an explicitly selected pod, preserving the pod tenant boundary.
Get Polling Webhook
Get one organization-level polling webhook by webhook_id or client_id. Current provider polling support is US-only (api.agentmail.to); do not use this action with an EU connection. The polling token is never returned; create again with the same client_id to issue a new token.
Get Raw Message
Get a temporary download reference for one message's raw RFC 5322 source, including its original headers and MIME structure. Source or target records with spam, blocked, unauthenticated, or trash labels may be hidden or reported not found when the API key lacks the corresponding label visibility permission.
Get Thread
Retrieve one AgentMail thread and a paginated page of its messages.
Get Thread Attachment
Get a temporary download reference for an attachment using its thread and attachment IDs. Source or target records with spam, blocked, unauthenticated, or trash labels may be hidden or reported not found when the API key lacks the corresponding label visibility permission.
Get Webhook
Get one organization-level webhook configuration by ID. The response contains a credential-sensitive signature secret; never log or expose it.
Get Webhook Headers
List only the names of custom delivery headers on an organization-level webhook. Header values are credential-sensitive, write-only, and never returned.
List Calendar Event Instances
List one page of non-cancelled dates computed for a recurring US-only calendar event in a UTC window, including dates beyond the agenda horizon.
List Calendar Events
List one US-only calendar page of stored one-off events, recurring series, and edited series dates, including cancelled events, by most recent update.
List Domains
List one page of AgentMail custom domains and return the continuation token for the next page.
List Drafts
List unsent drafts in an AgentMail inbox with filters and pagination.
List Files
List one page of an inbox's Agent Drive files in path order, including pending files. List items intentionally contain no presigned download URL; call GET_FILE for one. Requires file_read. Agent Drive is a US-production-only Labs feature.
List Inbox API Keys
List API-key metadata scoped to an inbox without exposing secret values.
List Inbox Events
List label-change events from an AgentMail inbox.
List Inbox Polling Webhooks
List polling webhooks created through one inbox route. Returns one page and an endpoint- and inbox-bound opaque continuation token. AgentMail's polling guide currently says polling is US-only even though the API reference lists an EU server; follow the guide and do not assume EU support. Polling tokens are never returned.
List Inbox Webhooks
List one page of regular webhooks created for a selected AgentMail inbox. Responses contain credential-sensitive signature secrets; never log or expose them.
List Allowlist or Blocklist Entries
List one page of organization-wide send, receive, or reply allowlist or blocklist entries. Supply entry to retrieve one exact email address or domain.
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`).
List Pod Inboxes
List one page of inboxes inside an explicitly selected AgentMail pod, or supply query to search addresses and display names. Follow next_page_token until absent, including after an empty search page.
List Pods
Return one page of AgentMail pods and its continuation token.
List Polling Webhooks
List organization-level polling webhooks created through the organization route. Returns one page and an endpoint-bound opaque continuation token. Current provider polling support is US-only (api.agentmail.to); do not use this action with an EU connection. Polling tokens are never returned.
List Threads
List conversation threads in an AgentMail inbox with filters.
List Webhooks
List AgentMail webhook configurations.
Query Inbox Event Metrics
Query timestamped email-event counts for an AgentMail inbox.
Query Metrics
Query organization-wide email event counts or cumulative resource-usage time series over a bounded time range.
Query Rate Metrics
Query organization-wide rolling bounce and complaint rates.
Release Held Message
Release a message that Agent Armor held for review, emit its delivery and security override events, and remove the agent-armor-held label. Only a still-held message with a review verdict can be released.
Reply To Message
Reply to a selected message while preserving its AgentMail thread.
Respond to Calendar Event
Accept, decline, or tentatively accept an email invitation on a US-only inbox calendar. By default AgentMail emails the organizer; If-Match guards the response.
Send Draft
Immediately send and consume a draft, optionally changing message labels.
Send Email
Send an email using AgentMail API
Send Message
Immediately send a new email from an AgentMail inbox with optional HTML, attachments, custom headers, labels, and open tracking. Use a draft instead when the message must be scheduled for later.
Update Calendar
Change an inbox calendar's default time zone in US production. Existing events retain their own time zones; optionally guard the update with If-Match.
Update Calendar Event
Patch a US-only calendar event, one recurring date, or that date and future dates. Explicit null clears only documented nullable fields; If-Match prevents overwrites.
Update Draft
Edit a draft, reschedule delivery, or cancel a scheduled send with null.
Update Inbox
Update an inbox's display name, status, or custom metadata.
Update Inbox Webhook
Update an inbox-scoped regular webhook's enabled state or replace its event types. An empty update is allowed. The response contains a credential-sensitive signature secret; never log or expose it.
Update Inbox Webhook Headers
Atomically set, replace, or remove custom delivery headers on an inbox-scoped regular webhook. At least one real header change is required. Header values are credential-sensitive and write-only; never log or expose them.
Update Message Labels
Add or remove labels from one message in an inbox. Source or target records with spam, blocked, unauthenticated, or trash labels may be hidden or reported not found when the API key lacks the corresponding label visibility permission.
Update Pod Inbox
Update the display name, active or paused status, or metadata of an inbox inside an explicitly selected AgentMail pod. Provide at least one field.
Update Thread Labels
Add or remove custom labels from every message in one thread. Source or target records with spam, blocked, unauthenticated, or trash labels may be hidden or reported not found when the API key lacks the corresponding label visibility permission.
Update Webhook
Update an organization-level webhook's enabled state, event types, or inbox and pod subscriptions. An empty update is allowed. The response contains a credential-sensitive signature secret; never log or expose it.
Update Webhook Headers
Atomically set, replace, or remove custom delivery headers on an organization-level webhook. At least one real header change is required. Header values are credential-sensitive and write-only; never log or expose them.
Built for the way you actually work
No code, no engineers
Connect in a few clicks and start using your AI right away. If you can use the apps you already love, you can do this.
Sounds like you, not like a bot
Train your AI on your offer, your voice, and the way you actually talk to clients — it picks up where you leave off.
Plugs into the stack you already use
No need to rip out your CRM, your scheduler, or your email tool. Your AI works inside the apps running your business today.
Your data stays yours
Client conversations, lists, and credentials are scoped to your workspace. Nothing gets shared, sold, or used to train anyone else’s AI.
What you can do once Agent Mail is connected
Onboard new clients without lifting a finger
When someone signs up, your AI greets them, sets up their next step in Agent Mail, and keeps the momentum going — even at 2am.
Reply to leads in seconds, not days
Your AI watches Agent Mail for new inquiries, answers questions in your voice, and books the call before they cool off.
Get your weekends back
Hand off the repetitive Agent Mail work — follow-ups, reminders, updates, simple admin — and stop being the bottleneck in your own business.
How to connect Agent Mail to your agent
- 1
Start using FormWise for free
Sign up in under a minute.
- 2
Find Agent Mail in your connected apps
Inside FormWise, open Connectors and look for Agent Mail.
- 3
Hit "Connect"
Click "Connect Agent Mail" and log in like you normally would. We only ask for the permissions your AI actually needs.
- 4
Tell your AI what to do in Agent Mail
Build a quick AI Agent (it's like writing instructions, not code), and pick the Agent Mail actions you want your AI to handle.
- 5
Watch it run
Send it a real-world task and watch your AI take care of Agent Mail for you. Tweak the wording until it feels just right.
Powered by the AI you already trust
Your Agent Mail workflow runs on the same world-class AI used by ChatGPT, Claude, and Gemini. We handle the technical part — you just tell your AI what to do, in plain English.
- OpenAI
- Anthropic Claude
- Google Gemini
Questions other Agent Mail users had before signing up
Do I need to know how to code?
Not even a little. If you can use Agent Mail today, you can set this up. You'll connect Agent Mail, tell your AI what it should help with, and you're live. The whole thing is built for coaches, course creators, agencies, and operators — not engineers.
Will my clients know they're talking to an AI?
Only if you want them to. Your FormWise AI is trained on your voice, your offer, and the way you actually communicate — so it sounds like a thoughtful team member, not a clunky chatbot. Most people can't tell.
Can I make it sound like me?
Yes. You can give your AI examples of how you write, the questions you usually ask new clients, the way you handle objections, and the language you use about your offer. The more you give it, the more it sounds like you wrote it.
What if I want to take over a conversation?
You're always in control. You can step in at any point, take over from your AI, or stop it from sending messages until you've reviewed them. Think of it as a teammate, not a replacement.
Is my client data safe?
Yes. Your Agent Mail login and client information stay scoped to your workspace. We don't sell it, we don't share it, and we don't use your data to train anyone else's AI. You can disconnect Agent Mail or delete everything any time.
What happens when Agent Mail updates their app?
We handle it. When Agent Mail adds new features or changes how something works, we update the integration in the background. You don't have to do anything — your AI just keeps working.
How fast can I actually get this running?
Most people are up and running the same day they sign up. Connecting Agent Mail takes a few minutes. Teaching your AI to handle the work the way you'd want it done is the part worth slowing down for.
What is FormWise?
FormWise is the AI agent builder for coaches, course creators, and agencies. You connect the apps you already use — like Agent Mail — train your AI on your offer and voice, and let it handle the work you've been doing manually: onboarding, follow-ups, support, admin. No code, no developers, no engineering team required.
Can I sell AI agents to my clients?
Yes. A lot of FormWise users build AI assistants and sell them as part of their offer — done-for-you AI setups, white-label assistants for client businesses, custom GPTs trained on a client's brand. You can charge a setup fee, a monthly retainer, or both.
Can I embed my AI on my website or in my course?
Yes. Every AI you build in FormWise can be embedded on your site, dropped into your course platform, or shared as a standalone link. Your clients and students just open it like any other web page — no app to download, no login hoops.
Do I need to know anything about AI to use this?
No. If you can describe what you want your AI to do in plain English — "greet new clients, ask these 3 questions, book them a call" — FormWise can build it. We handle the models, the prompts, the connections. You handle the part you already know: what your business actually needs.
About Agent Mail on FormWise
AgentMail provides programmable email inboxes, messages, drafts, domains, webhooks, and related infrastructure for AI agents.
Connect Agent Mail once and your FormWise AI gets 93 things it can do inside it. That means your AI can handle the Agent Mail work in your business — the messages, the updates, the follow-ups, the admin — the way you would, just faster and around the clock.
You don't need to know how any of it works under the hood. We take care of keeping the connection alive, retrying if something fails, and making sure your data only ever moves where you tell it to.
New to Agent Mail? Take a look at agentmail.to.
More Email integrations
SendPulse
SendPulse is a multichannel marketing platform for email, SMS, chatbots, CRM, automation, web push, and transactional messaging.
Outlook
Outlook is Microsoft's email and calendaring platform integrating contacts and scheduling, enabling users to manage communications and events in a unified workspace
ClickSend
ClickSend is a cloud-based SMS and email marketing platform that enables businesses to send and receive SMS messages, manage contacts, and track campaign performance.
MailUp
MailUp is an email and SMS marketing platform for managing lists, recipients, campaigns, and engagement statistics.
Resend
The universal API for sending emails.
Resend MCP
Send and manage transactional email through Resend.
Stop doing the Agent Mail work yourself
Hand it off to an AI assistant that sounds like you, works around the clock, and never forgets a follow-up. Free to start.
