Communication22 toolsPaste one API key
AgentMail integration for AI agents
Send and manage emails through AgentMail
Use it from your agent
One ClawLink account serves every agent you run. Pick the guide for yours, or connect AgentMail once and call the same tools from all of them.
Setup
Connect agent-mail through ClawLink's hosted setup.
- Auth: Paste one API key. The credential stays on the ClawLink server; your agent holds only a ClawLink key you can revoke.
- Where: the ClawLink dashboard, or ask your agent to connect it.
What your agent can do
AgentMail exposes 22 tools through ClawLink. The 21 most used are listed here; your agent sees all of them.
| Tool | What it does | Kind |
|---|---|---|
agent_mail_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. | Write |
agent_mail_get_message | Retrieve the complete details of a specific email message from an AgentMail inbox. | Read |
agent_mail_list_inboxes | List all inboxes available to the authenticated AgentMail account. Use this to discover valid inbox_id values for message operations. | Read |
agent_mail_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`). | Read |
agent_mail_send_email | Send an email using AgentMail API | Write |
agent_mail_get_api_key | Retrieve API-key metadata without exposing bearer secret values | Read |
agent_mail_get_draft | Retrieve the complete contents and scheduling details of one draft | Read |
agent_mail_get_inbox | Retrieve one AgentMail inbox and its metadata by ID or email address | Read |
agent_mail_get_thread | Retrieve one AgentMail thread and a paginated page of its messages | Read |
agent_mail_list_drafts | List unsent drafts in an AgentMail inbox with filters and pagination | Read |
agent_mail_list_inbox_api_keys | List API-key metadata scoped to an inbox without exposing secret values | Read |
agent_mail_list_inbox_events | List label-change events from an AgentMail inbox | Read |
agent_mail_list_threads | List conversation threads in an AgentMail inbox with filters | Read |
agent_mail_list_webhooks | List AgentMail webhook configurations | Read |
agent_mail_query_inbox_event_metrics | Query timestamped email-event counts for an AgentMail inbox | Read |
agent_mail_query_rate_metrics | Query organization-wide rolling bounce and complaint rates | Read |
agent_mail_create_draft | Create a draft, optionally scheduling its automatic delivery with send_at | Write |
agent_mail_reply_to_message | Reply to a selected message while preserving its AgentMail thread | Write |
agent_mail_send_draft | Immediately send and consume a draft, optionally changing message labels | Write |
agent_mail_update_draft | Edit a draft, reschedule delivery, or cancel a scheduled send with null | Write |
agent_mail_update_inbox | Update an inbox's display name, status, or custom metadata | Write |