Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurf+15 more

    Testing With Sandbox

    by Daryna Ivanova

    2

    Safely capture and inspect test emails in a staging environment without sending to real recipients.

    Free

    0 installsSecurity scanned

    See it in action

    You say

    Show me how to configure my Node.js app to send test emails to my Mailtrap sandbox inbox #123456.

    Your agent does

    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.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    • Free forever, no account required

    Listed1 month ago

    Creator

    Frequently Asked Questions

    Popular in Testing & QA

    Free