Skip to content

Email

Overview

Use an Email template to dynamically generate an HTML email. Ideal for transactional emails.

Watch this video recorded with the awesome Planet No Code team to see how it works.

MJML

Creating html emails that work across various devices and email clients is a very tricky task.

We’ve built Comnoco’s email generation on top of the MJML library so that it works well across all devices and clients.

This means there are many resources that will help you build great emails, some are listed below:

Logic

You can use data passed in from a logix file to build dynamic emails, just define an input parameter (we recommend a Data Structure) so that the callong function can pass it in.

You will then be able to map data from your parameter(s) and you will also be able to add loops and logic to your email blocks. e.g. You can output a row once for every item a customer has bought.

Refreshing

Emails are rendered within Comnoco’s backend so every change you make is sent to the backend to render an return. This can lead to a lot of refreshes in the user interface, you can disable auto refreshing if you like.


Parameters

ParameterParameterValid BlocksRequired
Input Parameters Define any input parameters which you want to pass in to this template (eg, user data, flags for display certain sections, etc.) Basic Type Block Group No
Internal Parameters Define any variables which you want to use throughout this template which are only to be used in this template here (eg, reusable text strings, number of rows processed). Basic Type Block Group No
E-mail Metadata The metadata for this e-mail, such as the preview and title text, the document language, etc Metadata Block Group Yes
Custom CSS Styles Custom CSS Styles CSS Style Block Group No
E-mail Styles E-mail Styles Email Style Block Group No
Fonts Fonts Font Block Group No
Content Content Body Component Block Group No