Skip to main content
Glama

SendGrid MCP Server

by deyikong

update_template_version

Modify email template versions by updating content, subject lines, and activation status to maintain current messaging across email campaigns.

Instructions

Update the content and settings of a template version

Input Schema

NameRequiredDescriptionDefault
activeNoSet as active version (1 = active, 0 = inactive)
generate_plain_contentNoAuto-generate plain text from HTML
html_contentNoHTML content of the email template
nameNoNew name for this version
plain_contentNoPlain text version
subjectNoEmail subject line (supports Handlebars)
template_idYesID of the template
test_dataNoJSON string of test data for Handlebars variables
version_idYesID of the version to update

Input Schema (JSON Schema)

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