Communication

Agent Mail

AgentMail provides programmable email inboxes, messages, drafts, domains, webhooks, and related infrastructure for AI agents.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • 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 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 Inbox API Key

    Create an inbox-scoped bearer key and return its one-time secret. Permissions can be specified to restrict the key.

  • 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.

  • 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.

  • Extend Inbox

    Add whole months before an AgentMail inbox deactivates, or reactivate a deactivated inbox for that many months.

  • 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.

  • 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.

  • 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 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 with send_at, or cancel a scheduled send with cancel_scheduled_send=true.

  • 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.

Page 1 / 2Next