Donutwork Docs
Email Gateway

Template Studio

Design, validate, and publish marketing or transactional email templates from one workspace.

Email Template Studio

Donutwork decouples delivery logic (API or Workflow) from email design. The Template Studio gives teams one workspace for visual design, HTML editing, validation, and controlled publishing.

One Studio, Two Modes

Work on the same template from either mode without duplicating files:

Visual Mail Designer

Drag-and-drop editor for responsive layouts, reusable blocks, and fast visual iteration.

HTML Editor

Professional editing for custom HTML with variable and snippet support.


What You Can Do In Studio

  • Guided fields: clear controls for template type, subject, and preheader.
  • Typed variables: click-to-insert placeholder catalog.
  • Snippet library: reusable header/footer/legal/content sections.
  • Fast test-send: run test delivery with preview data profiles.
  • Responsive preview: validate desktop and mobile rendering before publish.

Lifecycle, Versioning, And Rollback

Each template follows an operational lifecycle:

  • draft -> review -> approved -> published
  • every Publish creates a version snapshot
  • rollback is available from the version panel

Manual Save

Autosave is disabled. Always click Save (or use Cmd/Ctrl + S) before testing or publishing.


Compliance And Deliverability

Policy by template type

Dedicated rules for marketing vs transactional templates, including links, HTML safety, and placeholders.

Preflight scoring

Errors, warnings, and quality metrics are reported before publish.

  • Marketing templates require unsubscribe/legal elements.
  • Transactional templates keep strict technical checks with a more flexible unsubscribe policy.

Publish vs Send Behavior

Preflight can block publish when critical errors exist. API send/test flows remain available from draft templates and are not hard-blocked by preflight.


Workflow And API Usage

As soon as it is saved, a template is available:

  • in Workflow through Send Email nodes
  • in API sends and test flows

Filename rule: use [a-z0-9-] (example: newsletter-january-2026).


Next Steps

On this page