Email templates
Each transactional email sent by Finqu maps to a fixed .mjml.liquid template path under templates/, organized by context (customers or orders). The context determines which global Liquid objects and subject-line variables are available.
Contexts
customers
Emails sent for customer account actions.
Global Liquid objects:
Subject-line variables:
orders
Emails sent in the context of an order.
Global Liquid objects:
Subject-line variables:
Available templates
Some templates also expose event-specific Liquid variables listed in the last column:
Template file structure
Each template combines up to three blocks:
- HTML (MJML): all markup outside
{% plaintext %}and{% schema %}renders through Liquid and compiles from MJML to HTML. - Plaintext: optional plain-text email body wrapped in
{% plaintext %}...{% endplaintext %}. - Schema: JSON metadata wrapped in
{% schema %}...{% endschema %}definingsubjectandpreviewtext.
<mj-section>
<mj-column>
<mj-text>Hello {{ customer.first_name }}!</mj-text>
</mj-column>
</mj-section>
{% plaintext %}
Hello {{ customer.first_name }}!
{% endplaintext %}
{% schema %}
{
"subject": "Hi ${FIRST_NAME}, your order is confirmed!",
"preview": "Order confirmation for ${FIRST_NAME}."
}
{% endschema %}subject and preview schema fields
Both fields accept either a plain string or a locale-keyed JSON object and support all subject-line variables for the template’s context (${FIRST_NAME}, ${ORDER_NUMBER}, and so on). If the recipient’s locale is missing from a localized object, Finqu falls back to the default language (typically en).
subject: sets the email subject line.preview: sets the preheader summary shown after the subject line in email clients.
Localized example:
{
"subject": {
"en": "Hi ${FIRST_NAME}, your order ${ORDER_NUMBER} is confirmed!",
"fi": "Hei ${FIRST_NAME}, tilauksesi ${ORDER_NUMBER} on vahvistettu!"
},
"preview": {
"en": "Order confirmation for ${FIRST_NAME}.",
"fi": "Tilausvahvistus ${FIRST_NAME}:lle."
}
}Related reference
For full object properties available in email templates, see the Liquid reference for customer, order, and channel.