AgentMail AI Employee

Leina connects to AgentMail to help you summarize email threads and save reply drafts. Ask in your team chat. Leina does the work and brings back the result.

Connect AgentMail, choose what to share, and hand off your first task.

Leina + AgentMail Example Result

You

Read the delivery question in inbox [inbox ID], message [message ID]. Draft a reply to [email] saying the sample ships Friday. Do not send it.

Leina

I saved a reply draft with the shipping update. It has not been sent.

AgentMail · Reply draft

Delivery update

A short answer linked to the customer’s original message.

Reply
Thanks for checking. Your sample is scheduled to ship on Friday.
Delivery
Saved as a draft for review.
A reply ready for your review.

What Is a AgentMail AI Agent?

An AgentMail AI agent can read a discussion, extract decisions and deadlines, and prepare a reply for review.

You specify the source and the destination. Leina uses the content available to your connection and returns the result for you to review.

AgentMail

AgentMail provides email inboxes for automated assistants and applications.

  1. Select the message

    Provide the inbox, message, recipient, and reply instructions.

  2. Read the conversation

    Use the original message to prepare the response.

  3. Save the draft

    Keep the reply in AgentMail for review.

What to Ask Leina to Do with AgentMail

Copy a prompt, add your details, and send it to Leina in your connected team chat.

Summarize a Topic

In inbox [inbox ID], find emails about [topic] during [date range]. Summarize decisions, deadlines, and unanswered questions.

agent_mail

Save a Reply Draft

Read message [message ID] in inbox [inbox ID]. Draft a reply to [recipient] following [instructions], and save it without sending.

agent_mail

Your next AgentMail task can start with a message.

Connect. Ask. Get the Result.

Tell Leina what you need in your team chat. Include the source, destination, and expected result.

  1. Connect Your Account

    Connect the tools involved and give Leina access to the content it needs.

  2. Try a Task

    Share the source material, say where the result belongs, and describe what you need.

  3. Check the Result

    Review the result and any changes in the connected app.

Put Leina to Work in AgentMail

Hand off these everyday tasks to your AI employee.

Create Inbox

Create a new AgentMail inbox.

List Inboxes

List inboxes available to the current AgentMail API key.

Get Inbox

Get a single AgentMail inbox.

Update Inbox

Update an AgentMail inbox display name or metadata.

Delete Inbox

Delete an AgentMail inbox.

List Inbox Threads

List threads in a specific AgentMail inbox.

Search Inbox Threads

Search threads in a specific AgentMail inbox.

Get Inbox Thread

Get a single thread from a specific AgentMail inbox.

Update Inbox Thread

Update labels on a thread in a specific AgentMail inbox.

Delete Inbox Thread

Delete a thread from a specific AgentMail inbox.

Get Inbox Thread Attachment

Get metadata and download URL for an attachment in an AgentMail inbox thread.

List Messages

List messages from a specific AgentMail inbox.

Search Messages

Search messages in a specific AgentMail inbox.

Get Message

Get a single message from a specific AgentMail inbox.

Update Message

Update labels on a message in a specific AgentMail inbox.

Batch Get Messages

Fetch multiple messages from a specific AgentMail inbox by message ID.

Get Message Attachment

Get metadata and download URL for an attachment on a specific AgentMail message.

Get Raw Message

Get a presigned download URL for the raw EML version of an AgentMail message.

Send Message

Send a message from a specific AgentMail inbox.

Reply To Message

Reply to a specific AgentMail message.

Reply All Message

Reply to all recipients of a specific AgentMail message.

Forward Message

Forward a specific AgentMail message.

List Drafts

List drafts from a specific AgentMail inbox.

Create Draft

Create a draft in a specific AgentMail inbox.

Get Draft

Get a draft from a specific AgentMail inbox.

Update Draft

Update a draft in a specific AgentMail inbox.

Delete Draft

Delete a draft from a specific AgentMail inbox.

Get Draft Attachment

Get metadata and download URL for an attachment on a specific AgentMail draft.

Send Draft

Send a specific AgentMail draft.

List Inbox List Entries

List allow or block entries scoped to a specific AgentMail inbox.

Create Inbox List Entry

Create an allow or block list entry scoped to a specific AgentMail inbox.

Get Inbox List Entry

Get an allow or block list entry scoped to a specific AgentMail inbox.

Delete Inbox List Entry

Delete an allow or block list entry scoped to a specific AgentMail inbox.

Query Inbox Metrics

Query AgentMail metrics scoped to a specific inbox.

List Inbox Events

List events scoped to a specific AgentMail inbox.

List Inbox Api Keys

List API keys scoped to a specific AgentMail inbox.

Create Inbox Api Key

Create an API key scoped to a specific AgentMail inbox.

Delete Inbox Api Key

Delete an API key scoped to a specific AgentMail inbox.

List Threads

List AgentMail threads across accessible inboxes.

Search Threads

Search AgentMail threads across accessible inboxes.

Get Thread

Get a single AgentMail thread.

Update Thread

Update labels on an AgentMail thread.

Delete Thread

Delete an AgentMail thread.

Get Thread Attachment

Get metadata and download URL for an attachment in an AgentMail thread.

List Global Drafts

List AgentMail drafts across accessible inboxes.

Get Global Draft

Get a single AgentMail draft across accessible inboxes.

Get Global Draft Attachment

Get metadata and download URL for an attachment on an AgentMail draft.

List Webhooks

List AgentMail webhooks.

Create Webhook

Create an AgentMail webhook.

Get Webhook

Get a single AgentMail webhook.

Update Webhook

Update an AgentMail webhook.

Delete Webhook

Delete an AgentMail webhook.

List Domains

List AgentMail domains.

Create Domain

Create an AgentMail domain.

Get Domain

Get a single AgentMail domain.

Update Domain

Update an AgentMail domain.

Delete Domain

Delete an AgentMail domain.

Get Domain Zone File

Get the DNS zone file records needed for an AgentMail domain.

Verify Domain

Ask AgentMail to verify a domain's DNS records.

List List Entries

List global AgentMail allow or block entries.

Create List Entry

Create a global AgentMail allow or block list entry.

Get List Entry

Get a global AgentMail allow or block list entry.

Delete List Entry

Delete a global AgentMail allow or block list entry.

Query Metrics

Query AgentMail metrics across accessible resources.

List Api Keys

List AgentMail API keys.

Create Api Key

Create an AgentMail API key.

Delete Api Key

Delete an AgentMail API key.

List Pods

List AgentMail pods.

Create Pod

Create an AgentMail pod.

Get Pod

Get a single AgentMail pod.

Delete Pod

Delete an AgentMail pod.

List Pod Inboxes

List AgentMail inboxes scoped to a pod.

Create Pod Inbox

Create an AgentMail inbox scoped to a pod.

Get Pod Inbox

Get a single AgentMail inbox scoped to a pod.

Update Pod Inbox

Update an AgentMail inbox scoped to a pod.

Delete Pod Inbox

Delete an AgentMail inbox scoped to a pod.

List Pod Threads

List AgentMail threads scoped to a pod.

Search Pod Threads

Search AgentMail threads scoped to a pod.

Get Pod Thread

Get a single AgentMail thread scoped to a pod.

Update Pod Thread

Update labels on an AgentMail thread scoped to a pod.

Delete Pod Thread

Delete an AgentMail thread scoped to a pod.

Get Pod Thread Attachment

Get metadata and download URL for an attachment in an AgentMail pod thread.

List Pod Drafts

List AgentMail drafts scoped to a pod.

Get Pod Draft

Get a single AgentMail draft scoped to a pod.

Get Pod Draft Attachment

Get metadata and download URL for an attachment on an AgentMail pod draft.

List Pod Domains

List AgentMail domains scoped to a pod.

Create Pod Domain

Create an AgentMail domain scoped to a pod.

Get Pod Domain

Get a single AgentMail domain scoped to a pod.

Update Pod Domain

Update an AgentMail domain scoped to a pod.

Delete Pod Domain

Delete an AgentMail domain scoped to a pod.

Get Pod Domain Zone File

Get the DNS zone file records needed for an AgentMail pod domain.

Verify Pod Domain

Ask AgentMail to verify a pod domain's DNS records.

List Pod List Entries

List AgentMail allow or block entries scoped to a pod.

Create Pod List Entry

Create an AgentMail allow or block list entry scoped to a pod.

Get Pod List Entry

Get an AgentMail allow or block list entry scoped to a pod.

Delete Pod List Entry

Delete an AgentMail allow or block list entry scoped to a pod.

Query Pod Metrics

Query AgentMail metrics scoped to a pod.

List Pod Api Keys

List AgentMail API keys scoped to a pod.

Create Pod Api Key

Create an API key scoped to a specific AgentMail pod.

Delete Pod Api Key

Delete an API key scoped to a specific AgentMail pod.

Get Organization

Get the AgentMail organization available to the current API key.

Who Am I

Get AgentMail identity information for the current API key.

More Tools for Your AI Employee

Connect the Apps your work depends on, and give Leina the context to carry the task forward.

Keep the Conversation Moving. Let Leina Pick Up the Work.

Hand off a task while your team is discussing it. Leina uses your connected tools and brings the result back to the conversation.

See How Leina Works in Slack
LeinaExample Result

I saved a reply draft with the shipping update. It has not been sent.

Delivery update

AgentMail + Leina: Your Questions, Answered

Will saving a draft send the email?

No. Sending is a separate action. Ask explicitly when you want the reviewed draft sent.

Can I use every inbox on the account?

Only inboxes allowed by the connected key are accessible. Specify the inbox for your task.

Make Leina Your AgentMail AI Employee

Start with one task you already need to do. Tell Leina what a finished result should look like.

Connect AgentMail, choose what to share, and hand off your first task.