Write the email’s subject and message

Edit the email
- Go to Delivery and open the email (a row that says “Emailed by Foliant”).
- In the Email section, make sure Edit is selected.
- Change the Subject (up to 255 characters) and the Message (up to 5,000 characters).
- Save with the save bar.
Variables you can use
Under You can use Liquid:, select a variable to copy it, then paste it into the subject or message.
The email can use the same order data and filters as your templates (
money, date and so on). See Liquid filters.
Format the message
Markdown works in the message:**bold**, *italic*, and links. Blank lines start a new paragraph. HTML you type is shown as text, not as markup.
In your store’s other languages
If your store sells in more than one language, the Subject and Message each have Add language next to their label (Languages with a count once they have translations). Select it to open Manage translations, select Add language and choose the languages your store publishes in Shopify, then write the subject or message in each. Select Done, then save. When the customer gets the email, Foliant writes it in the language of their order. Your store and any other addresses get it in your store’s main language when the customer isn’t among the recipients. A language you leave empty shows your main language. The preview shows your main language.Preview the email
Select Preview. Foliant shows the email as a mail client would — From, To, Reply-to, Subject, the message and the attached PDF’s file name — rendered for your latest order, as you typed it, even before you save. The note under the preview says which order it used. The document number is filled in when the email goes out. If the Liquid has a mistake, the preview shows the error, and saving says what’s wrong (“The subject’s Liquid has an error: …”; in another language, the language code is named, for example “The message’s Liquid (fr) has an error: …”).Good to know
- The subject is sent as one line: line breaks and HTML are removed.
- The message must parse as Liquid before you can save. An empty message is allowed; the subject is required.
- For stores whose language reads right to left (Arabic, Hebrew, Persian, Urdu), the message is aligned right.
- Every email says it’s from your store’s name, and replies go to your store’s email. See Send from your own domain to send from your own address.
- The PDF is attached. Over 10 MB, the email links to it instead.