- Home
- Skills
- APIs & Backend
- using-email-templates
Works with the AI Agents you already use
Using Email Templates
Expert integration for Mailtrap email templates, Handlebars data mapping, and responsive HTML generation.
Free
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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
Allowed Hosts