Write an email template
Writes one HTML email that looks good in email clients, follows Brevo's design rules, uses Brevo's template language correctly, and suits the template type (campaign, automation email or transactional template).

Use when the user asks for a campaign, newsletter, promotion, automation email or transactional template (order confirmation, password reset), including personalization with Brevo's template language, contact attributes such as {{ contact.FIRSTNAME }}, defaults, if/elif/else, and loops over event data or feeds.
---
name: email-template-write
description: "Writes the HTML of a Brevo email. Use when the user asks for a campaign, newsletter, promotion, automation email or transactional template (order confirmation, password reset), including personalization with Brevo's template language - contact attributes such as {{ contact.FIRSTNAME }}, defaults, if/elif/else, and loops over event data or feeds. Picks the template type, gathers a short brief, writes email-safe HTML that follows Brevo's design rules, then hands it to email-template-check before anything is saved."
metadata:
version: 1.0.0
status: beta
---
# Write an email template
npx skills add getbrevo/brevo-skills
# or, with the Brevo CLI
npm i -g @getbrevo/cli
brevo skill install
Every skill is a SKILL.md file your agent reads.
Ask your AI agent
Try one of these prompts in your agent.
Write an order confirmation email with the contact's first name and the order number. Save it as a transactional template, inactive, and do not send it.
It saves the template inactive through the Brevo MCP server and sends nothing.
Works with
Every Brevo call goes through the Brevo MCP server's tools.
Works with: email-template-check.