techwithanirudh/mastra-slack-agent-template/agentmail
Claude Code and agent skill by techwithanirudh/mastra-slack-agent-template
- community
Checking that the SKILL.md file is still in the repository.
Give the agent email access through AgentMail. Use when the user asks the agent to send email, read email, inspect inboxes, reply to messages, handle attachments, draft mail for approval, or set up email notifications.
Install
npx vskill@latest install techwithanirudh/mastra-slack-agent-template/agentmailSKILL.md
AgentMail
Use AgentMail from Python inside the sandbox when the user asks to send, receive, search, reply to, draft, or inspect email. List the account's inboxes first and use an existing inbox unless the user explicitly asks to create one.
Credentials
Use this placeholder:
The placeholder is not a secret. It only makes the SDK construct authenticated requests. The host injects the real Authorization header through the sandbox network policy. Never print API keys, bearer headers, or credential-broker internals.
Ground Rules
- Replace
your-inbox@agentmail.towith an inbox id returned by
client.inboxes.list().
- Prefer drafts for sensitive, external, broad, or ambiguous messages.
- Send directly only when the user clearly asked for the exact recipient, subject, and body.
- Before sending attachments, confirm the path exists and check size with
ls -lh. - Summarize recipient addresses, subject, body intent, labels, and attachment filenames after any send or draft.
- Do not expose private message bodies unless the user asked to inspect them.
- Do not set up webhook forwarding to third-party URLs without explicit approval.
Common Workflows
List recent mail:
Send plain text mail:
Create a draft for user approval:
References
- Full Python inbox, message, thread, draft, attachment, pod, and label examples: Core API.
- Webhook creation and signature verification: Webhooks.
- WebSocket subscriptions for live inbox events: WebSockets.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingworkspace/skills/agentmail/SKILL.md
Popularity
- Repository stars
- 6
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/techwithanirudh/mastra-slack-agent-template/agentmail)