Skip to Content
StarsellDocs
MarketingEmails

The email editor

Build emails and layouts from blocks. Drag them in the Content list, set each one in the inspector, style everything at once, personalize with variables, preview with real orders and send yourself a test.

Open an email from Emails (or a layout from Layouts) and the editor fills the screen. The same editor builds layouts.

AreaWhat it holds
Top barName and save state, the language versions, Desktop / Mobile, undo and redo, Variables, Preview, Send a test, the ... menu, and Done.
Left railContent (the list of blocks), Style (the look of the whole email) and Block library (ready-made sections).
MiddleThe email itself, clickable, with Subject and Preview text above it.
RightThe selected block's settings, or Email settings when nothing is selected.

Every change saves a moment later, in every language. The line under the name says Saved just now, Saving or Unsaved changes. Done saves and goes back.

Blocks

An email is a stack of sections. Sections hold blocks.

SectionWhat it is
SectionBlocks stacked one under another. The everyday section.
ColumnsColumns side by side, each holding its own blocks. Set each column's width; turn on Stack on phones to put them one under another on narrow screens.
SpaceEmpty room between sections, at a set Height.
Custom HTMLYour own markup, sent as written. Inside the content column puts it on the primary colours at the email's width; off, it spans the whole email.
Email contentLayouts only: where each email goes. See Layouts.
BlockWhat it is
TextHeadings and paragraphs: bold, italic, underline, links, bulleted and numbered lists, clear formatting, and Variable. Shift Enter adds a line break.
ImageFrom Files or a link, with a Description for screen readers and blocked images, an optional Link and a Width. Use the store logo puts your logo in.
ButtonA text and a link, in the buttons that go with the section's colours. Regular or Large, optionally Full width.
Product gridThe items of the order or of the checkout, as a List or Cards, with photos, variant, quantity, prices and totals each switchable. The words (Qty, Subtotal, Total...) are yours to change.
LinkA text link.
Buttons rowButtons and links side by side.
DividerA thin line, with its thickness and width.
Links rowA few links, like a menu, side by side or one under another.
Social iconsInstagram, Facebook, TikTok, WhatsApp, X, YouTube, Pinterest, LinkedIn, Snapchat or email, in the order you set and the icon style you pick.
Custom HTMLA snippet of your own markup inside a section.

Custom HTML goes out as written

Outlook and Gmail drop a lot of HTML. Test custom markup in the inboxes your customers use.

Adding, moving and removing

  • Add. In Content, use the add rows: Add section at the top level, Add block inside a section, Add column in columns, Add button or link in a buttons row, Add link in a links row. The Add section menu also offers the Block library. The menus only offer what fits where you are.
  • Select. Click anything on the email, or its row in Content. A floating toolbar on the email offers Add after, Move up, Move down, Duplicate, Hide and Delete.
  • Drag and drop. Drag a row's handle in Content to move it. A block dropped where it does not fit lands next to the nearest place that takes it: a section dropped on a text block goes next to that block's section.
  • Hide. The eye on a row (or Hide) keeps a block in the editor but leaves it out of the email.
  • Delete. Delete, or the Delete key, removes the selected block. The message that follows has Undo.

Keyboard: Cmd Z or Ctrl Z undoes, Shift Cmd Z or Cmd Y redoes, Cmd S saves now, Cmd D duplicates the selected block, Delete or Backspace removes it, and Escape lets go of it. While you type in a field, undo, redo, duplicate and delete work on the text instead.

The inspector

Select a block and its settings open on the right, with Duplicate, Hide, Save to the block library (sections only) and Delete at the top.

Sections have:

GroupSettings
LayoutHow the blocks line up, the space between them, and Put the blocks on a card, with the card's colours, inner space and corners.
LookColours: Primary, Secondary, Tertiary or No background, from the Style palettes. Edge to edge fills the full width of the email. An optional Background image.
SpacingInner space, corners and border.
ScreensShow on: Every screen, Computers only or Phones only. Phones are screens narrower than Phone below in Style > General.
Who sees itConditions per recipient. See below.

Blocks pick their colour from the section they sit on (text, soft text or accent), so a section's colours restyle everything inside it.

Who sees a section

Under Who sees it, click the box to open Who sees this section. Each condition is a variable (for example order.status), a test (is, is not, contains, does not contain, is set, is not set, is more than, is less than) and a value. With several, pick all match or any matches.

Sections are checked for each recipient when the email is sent: a section whose conditions they do not match is left out. Text compares without caring about case. The editor always shows the section; Preview shows the email as the recipient gets it. Show it to everyone removes the conditions.

Style

Style holds one look for the whole email, in every language. Blocks pick from it instead of carrying their own colours, so one change restyles everything.

PanelWhat you set
GeneralContent width (480 to 760px; 600px fits nearly every inbox), Phone below (where columns stack and phone-only sections show), Reading direction (per language), and the page Background colour and image.
ColoursPresets, then three palettes, Primary, Secondary and Tertiary, each with background, text, soft text, accent, links and lines, and the buttons that sit on it (fill, border, text).
FontsPresets, the Headings and Body fonts (family, weight, line height) and the size scale. Fonts under "Installed everywhere" show in every inbox; Google Fonts show in Apple Mail and some webmail, others fall back.
ButtonsPresets, the button font and weight, and Regular and Large sizes: text size, corners, padding and border.

An email on a layout uses the layout's look

When an email has a layout, the layout's colours, fonts and buttons apply to the whole message and the email's Style panel is locked. Click Edit the layout there to change them for every email on it.

Variables

Variables put the customer's name, the order number or a link into the subject, the preview text, any text block, and link and image fields. Type them as {{ path }}, use Variable in a text block, the braces button next to Subject and Preview text, or open Variables in the top bar, which shows each value from the preview data and copies the variable to paste anywhere.

Hi {{ customer.first_name | default: "there" }}, your order {{ order.label }} is on its way.
GroupVariables
Customercustomer.first_name, customer.name, customer.email, customer.phone
Orderorder.label (as customers see it, "#1042"), order.number, order.url (the customer's order page), order.status, order.total, order.subtotal, order.shipping, order.tax, order.tax_label, order.tracking, order.tracking_url, order.created_at, order.shipping_address, order.note, order.admin_url (staff emails), order.item_count
Checkoutcheckout.url (back to the checkout with the cart as it was), checkout.subtotal, checkout.item_count
Productproduct.title, product.url, product.price, product.image_url, product.stock
Storestore.name, store.url, store.logo_url, store.email, store.phone, store.address
Linksunsubscribe_url

Money comes formatted ("₪349"), with the amount in minor units next to it for comparisons (order.total_minor, checkout.subtotal_minor, product.price_minor). The items of an order or a checkout are drawn by the Product grid block, not by a variable.

Which variables have values depends on what the email is sent about: an email sent by a checkout automation has checkout and customer values, one sent by an order automation has order and customer values. A variable with no value prints nothing, and a typo never stops a send. Use default where a blank would read badly.

Filters and conditions

Filters change how a value prints. Write them after a |:

  • default: "there" when the value is empty
  • upcase, downcase, capitalize, strip, truncate: 40, escape
  • date: "%-d %B %Y" for dates, in the store's time zone. It understands %d, %-d, %m, %-m, %Y, %y, %B, %b, %H and %M.
  • money: order.currency for an amount in minor units
  • split, first, last, join, size for lists and text

For text that only some recipients see, use {% if %}, {% elsif %}, {% else %}, {% endif %} and {% unless %}, with ==, !=, >, <, >=, <=, contains, and and or:

{% if order.tracking_url %}Track it here: {{ order.tracking_url }}{% else %}Tracking number: {{ order.tracking }}{% endif %}

There are no loops or assignments.

Images

Click Choose from Files to pick an image from the store's files, Use the store logo, or open Use a link or a variable to paste a URL (or a variable such as {{ product.image_url }}). Set the Width; the height follows the image, and on phones it shrinks to fit. Always fill in Description: many inboxes block images until the reader allows them.

Languages

When the store sells in more than one language, the top bar shows a switch per language. An amber dot means that version doesn't exist yet. Opening it offers Copy from another language (a copy into Hebrew or Arabic is turned to read right to left) or Start empty. Translate the text and the subject: each language has its own subject, preview text and body, while colours and fonts are shared. Remove the ... version in the ... menu deletes one.

Under Email settings > Languages, each language reads Ready, No subject or Not started. A customer whose language is missing gets the store's main language.

Email settings

With nothing selected, the right panel shows the email's own settings:

GroupWhat it holds
SendingType (see Types) and Layout, with Edit it.
LanguagesWhich versions are ready.
Used byThe automations that send this email, and whether each is on.
SenderFrom name, From address and Replies go to, for this email only. Each empty one uses the store's: a From name alone goes out from the store's address. See Sending.

When the type isn't Transactional and the email has no unsubscribe link (its own or its layout's), the panel warns: "No unsubscribe link. Marketing emails need one". See Unsubscribes.

Preview and test

  • Desktop and Mobile switch the width of the canvas.
  • Preview shows the email as a recipient gets it: an inbox line with the subject and preview text, sections whose conditions don't match left out. Under Preview with, pick Sample data or a real order, checkout or product from the store. Back to editing returns.
  • Send a test sends the saved email to one address, with [Test] in front of the subject. Pick the Language and the Data (sample, or a real order, checkout or product). It goes through the store's email account like any other email, so the store needs one with a usable sender; if not, the dialog says why. The test shows in Activity as a test, and is never stopped by the suppression list. Its unsubscribe link opens the real page but unsubscribes nobody. Each person can send 30 tests an hour.

A test is the only way to see exactly what a mail client does with an email. Send one to a Gmail and an Outlook address before you turn on an automation that uses it.

Block library

Block library in the left rail holds ready-made sections, drawn in your email's look:

TabBlocks
HeaderLogo, centred; Store name, centred; Logo with links
BodyHeadline and button; Centred headline; Photo, headline, button; Order items with totals; Cart items; Featured product; Text with a button beside it; Note in a card
FooterAddress and unsubscribe; Social icons and links
SavedSections your team saved

Click one to add it after the selected section, or at the end. To save your own, select a section and click Save to the block library, then name it. Saved blocks are shared by every email and layout in the store.

The ... menu

  • Duplicate this email makes a copy and opens it.
  • Remove the ... version deletes the current language version.
  • Delete this email deletes it for good. It is refused while an automation sends it.

On this page