Skip to content

Email blocks

An email in the designer is a stack of blocks. Six of them carry content, and three arrange it or decide when it appears. This page covers each one and what its settings do.

Available when: your role includes Manage email templates

The block library with the Content group (Heading, Text, Image, Button, Divider, Spacer) and the Layout & logic group (Columns, Condition, Loop)

To add a block, drag it from the library, on the Add tab at the left, to a spot on the canvas, or click it to put it at the end of the email. The Search blocks box above the library filters it by name.

Click a block to select it. Its settings open on the right, and its frame shows a label with the block type and five buttons.

A selected Button block on the canvas with its outline, type label and the drag, duplicate, copy, paste and delete buttons
Button What it does
Drag to move Hold and drag to a new position, including into a column, condition or loop.
Duplicate Puts a copy right below, with everything inside it.
Copy block Copies the block, with everything inside it, until you leave the designer.
Paste block Adds a copy of the copied block to the email. Greyed out until you copy one.
Delete Removes the block and everything inside it. Undo restores it.

Duplicate and delete are also in the header of the settings panel, and there are keyboard shortcuts for both.

You can edit most words without going to the panel. Double-click a heading or a button label, or click it once while it’s selected, and type. Enter finishes a button label, and Esc puts back what was there. The same goes for the condition of a Condition and the two names of a Loop, which you can type straight into their markers. Double-click a text block to open its editor.

Place Accepts
The email itself Every block
A column The six content blocks
A branch of a condition, or the body of a loop The six content blocks and Columns

So columns can’t sit inside columns, and conditions and loops can’t sit inside each other or inside a column. The designer doesn’t offer a drop spot where a block isn’t allowed. If you need columns that only some recipients see, put Columns inside a Condition, not the other way round. For one sentence that differs inside a column, write the logic in the text.

A title for the email or a section.

The settings of a Heading block with Content, Heading level, Alignment and Text color
Setting Options Default
Content Text, with variables “Your heading”
Heading level H1 (28 px), H2 (22 px), H3 (18 px) H1
Alignment Left, center, right Left
Text color Any color #333333

The body copy. A new block is empty and says so on the canvas. Edit content in the panel, or a double-click on the block, opens a full-screen editor. Click Save there to apply your changes. Closing the window with the X leaves the text as it was.

The Edit content window with a paragraph containing a bold word, a list and a highlighted variable

The editor offers undo and redo, bold, italic, underline, text color, bulleted and numbered lists, and links. A color you pick here beats the block’s Text color for those words. Variables you type are highlighted, so you can tell them from ordinary words. Click a variable and then Operations to change how it’s printed without typing the functions yourself. Links follow the same rule as a button’s address.

Setting Options Default
Font size 10 to 32 px 14 px
Alignment Left, center, right Left
Text color Any color. Links take this color too. #555555

A picture you upload. It’s sent inside the message, so it doesn’t depend on a link that could change. Until you upload one, the block shows No image yet on the canvas and counts as a problem.

The settings of an Image block with an uploaded picture, Alt text, Width and Alignment
Setting Options Default
Image JPG, PNG, GIF or WebP, up to 3 MB None
Alt text The words shown when the picture isn’t displayed. Variables work here. “Image description”
Width 50 px up to the content width less 60 px, in steps of 10 600 px, or the largest allowed if that’s less
Alignment Left, center, right Center

Fill in Alt text properly. Many mail programs hide pictures until the reader allows them, so “Certificate of completion” tells a reader much more than the default wording does.

An image shrinks to fit on a phone and is never stretched past the width you chose. Inside a column it’s also capped to the width of that column.

A call to action: “Complete your onboarding”, “Download your certificate”. It’s built to look like a button in every mail program, including Outlook.

The settings of a Button block with Button text, Button URL, the switch The organization's accent color turned off, colors, Border radius and Alignment
Setting Options Default
Button text Text, with variables “Click here”
Button URL A full address or a variable, for example {{ url }} https://
The organization’s accent color On or off. On, the button takes the accent color set under Branding and follows it when that changes, and Background color is hidden. The buttons of the default messages have it on. Off
Background color Any color. Shown while the switch above is off. #2563eb
Text color Any color #ffffff
Border radius 0 to 30 px. 0 gives square corners. 4 px
Alignment Left, center, right Center

Give the link as a full https:// address, a mailto: address, or a variable that holds one. Any other kind, such as tel:, is replaced with # when you save, which leaves the button leading nowhere.

A horizontal line between sections.

The settings of a Divider block with Line color, Thickness and Line style
Setting Options Default
Line color Any color #e0e0e0
Thickness 1 to 10 px 1 px
Line style Solid, dashed, dotted Solid

Empty vertical space, for when two blocks sit too close together. It has one setting.

The settings of a Spacer block with the Height slider
Setting Options Default
Height 5 to 100 px, in steps of 5 20 px

Places blocks side by side, such as a course photo next to its description. On narrow screens the columns stack one under another, in order. Outlook keeps them side by side.

A Columns block on the canvas with a picture in the left column and text in the right one
Setting Options Default
Column ratio 50 / 50, 33 / 67, 67 / 33, 33 / 33 / 33 50 / 50

Drag blocks straight into each column. Going from three columns to two loses nothing: the content of the third column moves to the bottom of the second. Going from two to three adds an empty column on the right.

Shows blocks only to the recipients they apply to. A training company might show a “Download your certificate” button only to those who passed, and a note about resitting to the rest.

A Condition block on the canvas with its if and else branches, each holding blocks, and its settings on the right
Setting What it does
Condition The test, an expression without the braces, for example passed, score >= 70 or items | len > 0. The field colours it, has {x} and f(x), and says under it what can’t be read. Required.
Add an else branch Adds a second area for blocks shown when the test fails. Off by default.

On the canvas both branches stay visible, under the {% if %} and {% else %} markers, so you can fill each one. Those markers are never sent. Use the preview to see one branch or the other. You can combine tests with and, or and not: score >= 70 and not resit. &&, || and ! don’t work in an email.

A value that’s missing counts as false, so with no passed in the data the recipient gets the else branch. If you turn the else branch off, its blocks are kept but not sent, and they come back when you turn it on again.

Repeats its blocks once for each item in a list: every course on a booking, every line of an invoice request.

A Loop block on the canvas repeating a text block for each item in order.items, with its settings on the right
Setting What it does Default
Collection variable The list to go through, as a variable: courses or order.items. Functions may follow it, for example courses | slice(0, 3) for the first three. Required. Empty
Item variable The name for one item inside the loop: letters, digits and underscores, not starting with a digit. item

With course as the item variable and courses as the collection, a text block inside the loop can say {{ course.title }} on {{ course.date }}. To number the rows, use {{ loop.index }}.

An empty list leaves nothing behind: no blocks, no gap.

These checks stop a template from being saved until they’re fixed. See Fixing problems for how they appear. Blocks in an else branch that’s turned off aren’t checked.

Block What’s wrong
Condition The condition is empty, or it can’t be read: the field shows what.
Loop The collection is empty, or it isn’t a variable: write a variable, as in order.items, or a variable through functions, as in products | slice(0, 3).
Loop The item variable is empty, or isn’t one name of letters, digits and underscores.
Button There’s no link. A bare https:// or http:// counts as none.
Button There’s no label.
Image No image has been uploaded.

Here is how the blocks work together in the “Course certificate ready” email Northbridge sends after each course.

  1. A Heading says Your results for {{ course.title }}.
  2. A Columns block at 33 / 67 holds a photo of the training room on the left and a Text block with the dates on the right. On a phone the photo sits above the text.
  3. A Condition with passed and its else branch on holds a Button, “Download your certificate”, with a link from the data. The else branch holds a Text block about resitting.
  4. A Loop over sessions, with session as the item variable, lists each session the participant attended in a Text block: {{ session.date }}: {{ session.topic }}.
  5. A Divider and a last Text block close the email with the trainer’s name.

One template now covers everyone on the course, whether they passed or not and however many sessions they came to.