AgentMail API guide

agentmail.to

Use AgentMail to manage inboxes, search message text, prepare email drafts, and review conversation threads.

Actions and inputs

inboxes list

List inboxes in your AgentMail account.

Inputs optional limit

inboxes messages search

Search the full text of messages in an inbox.

Inputs inbox ID, search query

inboxes drafts create

Save an unsent email draft in an inbox.

Inputs inbox ID, recipients, subject, message text

threads get

Retrieve an email conversation by its thread ID.

Inputs thread ID

AgentMail inbox

Create

Create an inbox in your AgentMail account.

Inputs display name, username, domain

Read

View the details of one of your inboxes.

Inputs inbox ID

Update

Change the display name of your inbox.

Inputs inbox ID, display name

Delete

Delete your inbox from AgentMail.

Inputs inbox ID