Skip to main content
Templates let you standardize email layout while personalizing content per recipient and context.

Template Types

  • transactional
  • workflow
  • campaign
Choose template type based on sending channel and lifecycle context.

Variable Basics

Core categories:
  • company and brand fields
  • contact fields
  • sender and support fields
  • workflow-only fields for workflow sends
Alias behavior is supported (for example snake_case and camelCase variants), but use canonical variable names in template builders for consistency.

Preview Text Guidance

  • preview_text can be optional.
  • null or empty values can clear preview text.
  • render preview text with the same variable set as subject and body.

Best Practices

  1. Keep a base template per brand or product line.
  2. Avoid deeply nested variable dependencies.
  3. Test rendering for missing optional contact fields.
  4. Keep subject lines concise and variable-safe.
  5. Include unsubscribe and browser-view links where required.