- Home
- Skills
- Agentmail To
- Agentmail Skills
- Agentmail Toolkit
agentmail-toolkit_skill
0
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill agentmail-to/agentmail-skills --skill agentmail-toolkit- SKILL.md4.8 KB
Overview
This skill adds email send/receive and inbox management capabilities to AI agents across popular TypeScript and Python agent frameworks. It supplies ready-made tools so agents can create inboxes, send and reply to messages, list threads, download attachments, and manage message labels. Setup is minimal: install the package and provide your AgentMail API key.
How this skill works
The toolkit exposes a consistent set of email tools that plug into framework-specific agent tool registries (Vercel AI SDK, LangChain, Clawdbot, OpenAI Agents SDK, LiveKit Agents). Each tool includes metadata and an execute interface so agents can call actions like create_inbox, send_message, get_thread, and get_attachment. You can configure the toolkit with an API key or pass an existing AgentMail client for custom setups.
When to use it
- You need agents that send or receive email programmatically.
- You want to add inbox management and thread handling to conversational agents.
- You are integrating email workflows into voice agents or streaming agent sessions.
- You need cross-framework compatibility between TypeScript and Python agent stacks.
- You want pre-built, production-ready email actions without building an email layer from scratch.
Best practices
- Store the AGENTMAIL_API_KEY securely in environment variables or a secrets manager.
- Expose only required tools to the agent to reduce attack surface and accidental sends.
- Use system prompts instructing the agent how to format outbound emails and handle user privacy.
- Test email flows in a staging inbox before connecting to production addresses.
- When using streaming models, handle tool responses and attachments asynchronously to avoid blocking the main conversation.
Example use cases
- Customer support bot that reads inboxes, summarizes threads, and drafts replies.
- Sales assistant that creates outreach sequences and logs sent messages to threads.
- Voice agent that receives spoken commands to send or reply to emails during calls.
- Automated workflow that creates inboxes for new projects and routes incoming messages to the right agent.
- Monitoring agent that downloads attachments and forwards them to downstream processing services.
FAQ
Set AGENTMAIL_API_KEY in environment variables or pass api_key/client when constructing the toolkit.
Which tools are included?
Common tools include create_inbox, list_inboxes, get_inbox, delete_inbox, send_message, reply_to_message, list_threads, get_thread, get_attachment, and update_message.