Email: templates update
email_templates_updateUpdate a template's subject or content for one email type, keeping the other unchanged, affecting all future sends. Preview first; old content isn't saved.
Instructions
Update a template's subject and/or content. Saves a new subject and/or body for one template type, keeping whichever you leave out; every email of that type the project sends from then on uses it. Pass the body inline in content_text. Check a draft first with email_preview, as the previous content isn't kept. It changes or deletes existing data, so check with the user before running it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | Path to a file containing the new HTML/text content (use '-' for stdin) | |
| subject | No | New subject line | |
| content_text | No | The new HTML/text content, passed inline | |
| template_type | Yes | The template type to update |