Skip to main content
Glama
mailgun

Mailgun MCP Server

Official
by mailgun

post--v3-domain_name-templates-template_name-versions

Create a new version of an email template in Mailgun by specifying content, unique tag, and optional headers like Subject or From.

Instructions

Create a template version

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domain_nameYes
template_nameYes
templateYesContent of the template.
tagYesTag of the version that is being created. Must be unique to the template.
commentNoComment related to the version that is being created.
activeNoIf this flag is set to yes, this version becomes active
headersNoKey value JSON object of headers to be stored with the template. Where key is the header name and value is the header value. The header names `From`, `Subject`, and `Reply-To` are the only ones currently supported. These headers will be inserted into the MIME at the time we attempt delivery. Headers set at the message level will override headers set on the template. e.g. Setting the From header at the time of sending will override the From header saved on the template. Additionally, headers generated by templates are not reflected on the accepted event as they are not prepended to the message until the message is prepped for delivery. if a From header is not provided either in the message or template, we will default to `postmaster@your-sending-domain.tld`
Install Server

Other Tools

Latest Blog Posts

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/mailgun/mailgun-mcp-server'

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