
testing-with-sandbox
Safely capture and inspect test emails in a staging environment without sending to real recipients.
- Route dev/staging emails to a safe virtual inbox for inspection.
- Automate CI checks to verify email delivery and content via REST API.
- Preview and validate HTML email templates safely before going live.
Free
Sample input
Show me how to configure my Node.js app to send test emails to my Mailtrap sandbox inbox #123456.
Sample output
Install the mailtrap package, then use the following config:
const { MailtrapClient } = require("mailtrap");
const client = new MailtrapClient({
token: process.env.MAILTRAP_SANDBOX_TOKEN,
testInboxId: 123456,
});
Note: Ensure you use the Sandbox-specific API token.
Safely capture and inspect test emails in a staging environment without sending to real recipients.
Free
Included in download
- Downloadable skill package
- 2 permissions declared
- Instant install
Sample input
Show me how to configure my Node.js app to send test emails to my Mailtrap sandbox inbox #123456.
Sample output
Install the mailtrap package, then use the following config:
const { MailtrapClient } = require("mailtrap");
const client = new MailtrapClient({
token: process.env.MAILTRAP_SANDBOX_TOKEN,
testInboxId: 123456,
});
Note: Ensure you use the Sandbox-specific API token.
About This Skill
Teaches agents to route outbound mail into a Mailtrap Email Sandbox (test inbox) so nothing reaches real recipients during development, staging, or CI. Covers both the HTTP Testing API (sandbox.api.mailtrap.io) and SMTP approach, how to obtain and use inbox_id, the separate sandbox token scope, and how to read and assert on captured messages via the Sandbox API. Includes SDK guidance and a common-mistakes table.
Use Cases
- Route dev/staging emails to a safe virtual inbox for inspection.
- Automate CI checks to verify email delivery and content via REST API.
- Preview and validate HTML email templates safely before going live.
- Check spam scores and header validity for all outbound test mail.
Known Limitations
- Cannot deliver mail to real recipients (testing only).
- Requires separate API tokens for Sandbox vs Production.
- Message retention varies by plan.
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/testing-with-sandbox -o /tmp/testing-with-sandbox.zip && unzip -o /tmp/testing-with-sandbox.zip -d ~/.claude/skills && rm /tmp/testing-with-sandbox.zipFree skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
Allowed Hosts
Works with any SKILL.md-compatible agent.
Creator
Frequently Asked Questions
Learn More About AI Agent Skills
More Premium Skills
api-contract-tester
Turn OpenAPI specs into exhaustive, framework-ready test suites covering happy paths, edge cases, and security gaps.
designing-hybrid-context-layers
Architects the right retrieval strategy for every query — teaching your agent when to use RAG, a knowledge graph, or a temporal index instead of defaulting to vector search for everything.
ai-automation-qa-pack
Professional QA & UAT documentation generator for AI automation agencies and complex agent deployments.
Bounty Security Pattern Master Library — 399 Vulnerability Patterns
A premium library of 399 vulnerability patterns and DeFi attack vectors for AI-driven bug hunting and security audits.