Skip to Content

Email themes overview

Finqu email themes customize transactional customer emails (such as order confirmations, fulfillment notices, and password recovery emails) using a structured directory layout, Liquid templating, and MJML .

Directory structure

DirectoryPurpose
assets/Custom stylesheets (.scss.liquid or .css.liquid) compiled and exposed in the styles Liquid variable
config/Stores settings_data.json for theme configuration values
layout/Shared email wrappers such as theme.mjml.liquid
locales/Language JSON files for localized email copy
snippets/Reusable Liquid and MJML fragments included with {% render %}
templates/Transactional email templates grouped by context (customers/, orders/)

See Email directory structure for file examples and compilation details.

Template components

Each template file corresponds to a specific customer or order event and combines up to three parts:

  1. HTML (MJML): main responsive email markup authored in MJML and Liquid.
  2. Plaintext: optional plain-text fallback wrapped in {% plaintext %} tags for email clients that do not render HTML.
  3. Schema: JSON metadata wrapped in {% schema %} tags defining the email subject and preview text with variable interpolation and localization.

Templates receive context-specific global objects (such as customer, order, and channel) plus event-specific variables like action links or shipment objects. See Email templates for the full list of supported templates and variables.

Authoring guidelines

  • Keep CSS minimal and email-client friendly inside assets/*.scss.liquid or assets/*.css.liquid.
  • Include a {% plaintext %} block in every email template for accessibility and plain-text mail clients.
  • Move shared headers, footers, and buttons into snippets/ so updates apply across all templates.
  • Localize both body copy (locales/*.json) and subject / preview fields in {% schema %} for every store language.