Skip to main content
Glama

SendGrid MCP Server

by deyikong

create_template_version

Create new email template versions with HTML content and subject lines to update and manage your email campaigns in SendGrid.

Instructions

Create a new version of a template with HTML content and settings

Input Schema

NameRequiredDescriptionDefault
activeNoSet as active version (1 = active, 0 = inactive)
generate_plain_contentNoAuto-generate plain text from HTML
html_contentYesHTML content of the email template (supports Handlebars)
nameYesName for this version
plain_contentNoPlain text version (optional)
subjectYesEmail subject line (supports Handlebars)
template_idYesID of the template to add version to
test_dataNoJSON string of test data for Handlebars variables

Input Schema (JSON Schema)

{ "properties": { "active": { "default": 1, "description": "Set as active version (1 = active, 0 = inactive)", "type": "number" }, "generate_plain_content": { "default": true, "description": "Auto-generate plain text from HTML", "type": "boolean" }, "html_content": { "description": "HTML content of the email template (supports Handlebars)", "type": "string" }, "name": { "description": "Name for this version", "type": "string" }, "plain_content": { "description": "Plain text version (optional)", "type": "string" }, "subject": { "description": "Email subject line (supports Handlebars)", "type": "string" }, "template_id": { "description": "ID of the template to add version to", "type": "string" }, "test_data": { "description": "JSON string of test data for Handlebars variables", "type": "string" } }, "required": [ "template_id", "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