Skip to content

Replace Email Signature Content

Tool name: replace-signature-content

Replaces normal HTML and plain content with no MCP undo. Transactional fields change only when supplied; false plus an empty transactionalHtml disables and clears them. HTML needs %Link:Unsubscribe% as the href of a link plus %User:FirstName%, %User:LastName%, %User:Street%, %User:Zip%, %User:City% and %User:Country%; allowed address omissions are exempt. Plain needs the same, but unsubscribe may be text; it is stored only when plain-content editing is allowed, otherwise regenerated from HTML. Transactional HTML needs the address placeholders and no %Link:Unsubscribe%; %Link:SubscriberInfo% is recommended. Returns content flags only; use get-signature with includeContent true. Name, notes, labels, tags, sender profile and business card stay unchanged.

Input schema

signatureIdinteger, >= 1required

ID of the signature whose normal content is replaced and whose transactional content may be changed

htmlstring, [ 1 .. 65536 ] charactersrequired

Complete HTML signature content

plainnull or string, <= 65536 characters

Complete plain content; stored trimmed only when plain-content editing is enabled, otherwise regenerated from HTML

Default:null
useInTransactionalEmailsnull or boolean

Whether the signature is used in transactional emails; omit to keep the current setting

Default:null
transactionalHtmlnull or string, <= 65536 characters

Complete transactional HTML content; omit to keep it, or pass an empty string with useInTransactionalEmails false to clear it

Default:null
accountIdnull or integer, >= 1

User ID of the account that owns the signature; omit for the token account, or pass an accessible subaccount ID

Default:null
Input example
{ "signatureId": 1, "html": "string", "plain": null, "useInTransactionalEmails": null, "transactionalHtml": null, "accountId": null }