agentmail

Manage email inboxes, messages, and attachments via API for AI workflows.

155|24|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/workersio/skills --skill agentmail-workersio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentmail
Source: https://github.com/workersio/skills/tree/main/plugins/kage/skills/kage/references/agentmail
Command: npx skills add https://github.com/workersio/skills --skill agentmail-workersio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables programmatic management of email inboxes and messages, simplifying email automation for AI agents.

Core Features & Use Cases

  • Inbox Management: Create, list, retrieve, and delete scalable email inboxes, supporting multi-tenant pod isolation.
  • Message Handling: Send, reply to, and update email messages with labels, including attachment management.
  • Workflow Automation: Create drafts for review, organize conversations with threads, and automate email campaigns.
  • Use Case: Automate customer support emails by creating inboxes per customer, sending responses, and managing incoming messages seamlessly.

Quick Start

Use the AgentMail SDK to create an inbox and send a message to test email automation.

Frequently Asked Questions about agentmail

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate email inbox creation for AI agents via API?

Automate email inbox creation for AI agents by using a programmatic API to generate scalable, multi-tenant inboxes. This enables isolated email workflows for distinct intelligent agents, allowing automated applications to manage messages seamlessly without manual setup.

Can I send and reply to emails with attachments using an API?

You can send and reply to emails with attachments using a comprehensive messaging API. It supports composing messages, handling file attachments, and updating message labels, allowing automated workflows to manage full email conversations programmatically.

What is the best way to organize automated email conversations for multiple customers?

Organizing automated email conversations for multiple customers is best handled through multi-tenant inbox isolation and threaded messages. This approach creates dedicated inboxes per customer, enabling AI agents to track and manage separate conversation histories securely.

Does this email automation API support creating message drafts for review?

The email automation API supports creating message drafts for review before sending. This allows developers to build workflows where AI agents generate proposed email responses, which can then be evaluated, edited, and approved through automated message handling.

How do I manage email labels and threading in automated message workflows?

Manage email labels and threading in automated workflows by applying API functions to update message metadata and group replies. This ensures automated email campaigns and customer support conversations remain organized within their respective threads and categories.