Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurf+15 more

    Using Email Templates

    by Daryna Ivanova

    2

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

    Free

    1 installSecurity scanned

    See it in action

    You say

    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.

    Your agent does

    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"
      }
    });
    

    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.

    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

    1 install

    Downloaded by developers to date

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    • Free to download with an account

    Installs1
    Listed1 month ago

    Creator

    Frequently Asked Questions

    Popular in API Development

    Free