Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get Draft Attachment
AGENT_MAIL_GET_DRAFT_ATTACHMENTGet a temporary download reference for one draft attachment.
Get File
AGENT_MAIL_GET_FILEGet 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
AGENT_MAIL_GET_INBOXRetrieve one AgentMail inbox and its metadata by ID or email address.
Get Inbox Polling Webhook
AGENT_MAIL_GET_INBOX_POLLING_WEBHOOKGet 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
AGENT_MAIL_GET_INBOX_WEBHOOKGet 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
AGENT_MAIL_GET_INBOX_WEBHOOK_HEADERSList 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
AGENT_MAIL_GET_MESSAGERetrieve an email message from an AgentMail inbox, including sender, recipients, labels, and available subject, body and attachment metadata. Use it to read individual messages discovered through message listing or webhooks.
Get Message Attachment
AGENT_MAIL_GET_MESSAGE_ATTACHMENTGet 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
AGENT_MAIL_GET_ORGANIZATIONReturn the connected AgentMail organization's identifiers, current inbox and domain counts, configured resource limits, and timestamps.
Get Pod
AGENT_MAIL_GET_PODRetrieve one AgentMail pod by its unique ID.
Get Pod Inbox
AGENT_MAIL_GET_POD_INBOXGet an AgentMail inbox through an explicitly selected pod, preserving the pod tenant boundary.
Get Polling Webhook
AGENT_MAIL_GET_POLLING_WEBHOOKGet 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
AGENT_MAIL_GET_RAW_MESSAGEGet 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
AGENT_MAIL_GET_THREADRetrieve one AgentMail thread and a paginated page of its messages.
Get Thread Attachment
AGENT_MAIL_GET_THREAD_ATTACHMENTGet 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
AGENT_MAIL_GET_WEBHOOKGet one organization-level webhook configuration by ID. The response contains a credential-sensitive signature secret; never log or expose it.
Get Webhook Headers
AGENT_MAIL_GET_WEBHOOK_HEADERSList 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
AGENT_MAIL_LIST_CALENDAR_EVENT_INSTANCESList 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
AGENT_MAIL_LIST_CALENDAR_EVENTSList 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
AGENT_MAIL_LIST_DOMAINSList one page of AgentMail custom domains and return the continuation token for the next page.