generate_template
Create responsive email templates for newsletters, welcome messages, promotional campaigns, and transactional emails using MJML markup with custom colors, fonts, and variables.
Instructions
Generate pre-built email templates
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customColors | No | Custom color scheme | |
| customFonts | No | Custom fonts | |
| outputPath | No | Save template to file path | |
| template | Yes | Template type | |
| variables | No | Template variables to replace |
Input Schema (JSON Schema)
{
"properties": {
"customColors": {
"description": "Custom color scheme",
"type": "object"
},
"customFonts": {
"description": "Custom fonts",
"type": "object"
},
"outputPath": {
"description": "Save template to file path",
"type": "string"
},
"template": {
"description": "Template type",
"enum": [
"newsletter",
"welcome",
"promotional",
"transactional",
"password-reset",
"verification",
"announcement",
"invitation"
],
"type": "string"
},
"variables": {
"description": "Template variables to replace",
"type": "object"
}
},
"required": [
"template"
],
"type": "object"
}