Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Using Email Templates

    3

    Expert integration for Mailtrap email templates, Handlebars data mapping, and responsive HTML generation.

    Free

    3 usesSecurity scanned
    using-email-templates

    using-email-templates

    Example session with this skill installed

    Create a Node.js script to send a 'welcome' email to a new user using template-uuid-123 and include their name and subscription plan.

    • Read your context and instructions
    • Compiled the using-email-templates
    const { MailtrapClient } = require("mailtrap");
    
    const client = new MailtrapClient({ token: process.env.MAILTRAP_TOKEN });
    
    client.send({
      from: { name: "Our App", email: "hello@example.com" },
      to: [{ email: "user@demo.com" }],
      template_uuid: "template-uuid-123",
      template_variables: {
        user_name: "Alex",
        plan: "Premium"
      }
    });
    

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Guides agents through creating templates in the Mailtrap UI, referencing them by UUID from application code, and filling them with Handlebars variables at send time. Covers the template_uuid + template_variables API payload shape, supported Handlebars syntax (conditionals, loops, nested paths, escaped vs raw HTML), previewing with the sandbox, and managing templates via the Templates API. Works with both transactional and bulk streams.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    • Requires pre-existing Mailtrap account and API token.
    • Logic is limited to Handlebars supported syntax.
    • Visual template editing must occur in the Mailtrap UI.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    3 uses

    Times used to date

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 5 months ago

    • Free with an Agensi account

    Accounts
    Mailtrap

    Permissions

    Terminal / Shell
    Network Access

    Allowed Hosts

    send.api.mailtrap.io
    Listed5 months ago

    What's inside

    Frequently Asked Questions

    This skill streamlines the complex process of mapping dynamic application data to Mailtrap's visual templates, ensuring Handlebars variables for loops, conditionals, and nested objects are formatted correctly for the API.

    Yes, the skill is compatible with both high-velocity Transactional streams and Bulk sending streams, providing the correct API payload structure for each use case.

    The skill includes optimized logic for the Mailtrap Templates API, covering template_uuid referencing, sandbox previewing, and advanced Handlebars syntax like raw vs. escaped HTML.

    The skill is designed to work with any AI agent or automation framework capable of making HTTP requests or using Node.js, specifically focusing on the JSON payload structure required by Mailtrap.

    No, you will need an active Mailtrap account to use this skill; it provides the logic to bridge your AI agent's data with Mailtrap's infrastructure.

    New in APIs & Backend

    Free