Skip to main content
Glama

SendGrid MCP Server

by deyikong

create_html_template

Generate email templates with HTML content and Handlebars support for SendGrid campaigns. Create templates with subject lines, plain text versions, and test data in a single operation.

Instructions

Create a new template with HTML content in one step - perfect for AI-generated designs

Input Schema

NameRequiredDescriptionDefault
html_contentYesComplete HTML email template (supports Handlebars)
plain_contentNoPlain text version (will auto-generate if not provided)
subjectYesEmail subject line (supports Handlebars like {{firstName}})
template_nameYesName of the template
test_dataNoJSON string with test data for preview (e.g., '{"firstName":"John","company":"Acme"}')
version_nameYesName for the initial version

Input Schema (JSON Schema)

{ "properties": { "html_content": { "description": "Complete HTML email template (supports Handlebars)", "type": "string" }, "plain_content": { "description": "Plain text version (will auto-generate if not provided)", "type": "string" }, "subject": { "description": "Email subject line (supports Handlebars like {{firstName}})", "type": "string" }, "template_name": { "description": "Name of the template", "type": "string" }, "test_data": { "description": "JSON string with test data for preview (e.g., '{\"firstName\":\"John\",\"company\":\"Acme\"}')", "type": "string" }, "version_name": { "description": "Name for the initial version", "type": "string" } }, "required": [ "template_name", "version_name", "subject", "html_content" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deyikong/sendgrid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server