Writing emails
Campaigns, flow emails and templates share the same editor and design. Kula wraps the content in your brand, personalizes it for each recipient and adds the plain-text version, tracking and unsubscribe links (unsubscribe links on marketing emails only, tracking on transactional emails only when asked).
The designer
| Mode | Best for |
|---|---|
| Designer | Most emails. Sections, columns, text, images, buttons, wrapped in your email design. Stored as blocks, so AI assistants and the API can write it too. |
| HTML | Emails designed elsewhere, or full control over the layout. Sent as you write it, without the email design. |
Switching between Designer and HTML starts from an empty body.
The content step shows the email as your contacts will see it. Edit email opens the designer, full screen:
- Canvas: the email at the center, with the header and footer of your design. Desktop and Mobile switch its width.
- Structure: an email is made of sections; a section has 1 to 4 columns; a column holds blocks. Click any of them to select it: the breadcrumb above the canvas shows where you are, the panel on the right shows its settings (content, layout, spacing, background, border, visibility).
- Add: drag a block from the left panel or the toolbar at the bottom into a column, or click it to add it after the selection. Layouts opens the gallery.
- Text: click a text or a heading to write in place. The toolbar at the top formats it: bold, italic, strikethrough, link, lists, quote, alignment, variables. Its Insert menu adds a one-time Code shown large, a Note or Warning box, or Small print.
- Move: drag a section or a block, or use the arrows of a selected section. Layers shows the whole structure as a tree.
- Images: drop or paste an image in the email to upload it. Images.
- Style: with nothing selected, the right panel shows the email style.
- Keyboard:
Ctrl+ZandCtrl+Shift+Zundo and redo,Ctrl+Dduplicates,Ctrl+CandCtrl+Vcopy and paste a block or a section (also between emails),Deleteremoves,Escselects the parent.
The header and the footer belong to the design of the space: Edit in Email design changes them for every email.
Emails written in Markdown (by the API or an AI assistant) open as one section and are saved as blocks on the first edit.
Use Preview to check the email on Desktop and Mobile, and Send test to receive it in a real inbox. Test emails go to up to 5 addresses, with [Test] in front of the subject, and are not tracked. Until your account is approved, they go to members of your account only.
contentFormat: "BLOCKS" with a blocks document, "MARKDOWN" with Markdown content, or "HTML" with your own HTML. Campaigns API.Layouts and saved sections
Layouts opens a gallery of ready-made sections: headers, heroes, text, articles, products, calls to action, features, testimonials, metrics, events, team, transactional, footers. They take the design of your space; a click inserts one after the selected section. Everything stays editable.
Select a section and click Save as section to reuse it: a header, a signature, a promo band. Saved sections are shared by the space, under Saved in the gallery and in the Add panel. Inserting one copies it: changing the saved section later doesn't change the emails that use it.
Email blocks
| Block | Use |
|---|---|
| Heading | A title, level 1 to 3 |
| Text | Paragraphs, lists, quotes, tables, links |
| Image | Uploaded or from a URL, with alternative text, a link, a width, an alignment and rounded corners |
| Button | The main action: confirm, sign in, reset a password. Filled or outline, in your button colors or its own |
| Divider, Spacer | A line, or empty space |
| Social | Icons linking to your networks |
| Menu | A row of text links, for a header or a footer |
| Video | The thumbnail of a YouTube or Vimeo video, linking to the video. No inbox plays videos |
Sections, columns and blocks all take a padding and a background; sections also take a background image, rounded corners and a border. Any of them can be hidden on mobile or on desktop.
In Markdown
Markdown content (API, AI assistants) writes Button, Code, Note, Warning and Small print as a line that starts the block and ::: that ends it. Variables work inside:
:::button {{ data.reset_url }}
Reset your password
:::
:::code
{{ data.code }}
:::
:::note
This link expires in **30 minutes**.
:::
:::small
If you didn't request this email, you can ignore it.
:::
:::warningworks like:::note.- A button's link starts with
https://,mailto:or a variable. - Blocks don't go inside other blocks.
- In the plain-text version, a button becomes
Reset your password: https://….
For images, columns and sections, use the blocks format.
Images
Upload an image with Upload in an image block, by dropping or pasting it in the email, or in Settings › Media. The media library lists the images of the space, to reuse them in any email.
| Rule | |
|---|---|
| Formats | JPEG, PNG, GIF (animation kept). WebP is converted to PNG: Outlook doesn't show it |
| Size | 5 MB at most. Wider than 1200 px: scaled down to 1200 px |
| Storage | 1 GB per account |
Images are served from https://img.kulamail.com, resized for their place in the email. Deleting an image removes it from the media library only: emails already sent keep showing it. Its file goes when the space is deleted.
Email design
Settings › Email design sets the theme of every email written in the designer or in Markdown: campaigns, flows and templates. The preview updates as you change it. HTML emails are sent as written.
| Group | Settings |
|---|---|
| Colors | Brand color (links, notes and buttons), text, headings, links, background, content background, muted text (footer and small print) |
| Typography | Text font, heading font, text size (14 to 18 px) |
| Layout | Card (the email on a rounded card) or Plain (one background), width (520 to 720 px), card corners |
| Buttons | Color, text color, corners (square, rounded, pill), size (small, medium, large) |
| Header | Logo (upload or URL, PNG or JPG), its width and alignment, or no logo |
| Footer | Markdown, and social links shown under it. Put your postal address here: anti-spam laws require it in marketing emails |
Fonts: Arial, Helvetica, Georgia, Verdana, Trebuchet, Times, and Google fonts (Inter, Roboto, Open Sans, Lato, Montserrat, Poppins, Merriweather, Lora, Playfair Display, Source Serif). Apple Mail and iOS show Google fonts; Gmail and Outlook show a similar system font instead.
Marketing emails end with Unsubscribe and Manage preferences links under your footer, in the language of your space. Send a test on the design page shows the result in your inbox.
Email style
An email can change part of the theme for itself: background, content background, text, heading and link colors, fonts, width, card or plain. In the designer, click the canvas outside the email to open Email style. Reset to space theme drops these changes.
Starter templates
When creating a campaign or a template, Start from offers a blank email, your templates, and Kula's starter templates: welcome, newsletter, product update, announcement, receipt, password reset, magic link, verification code and event invitation. They take the design of your space. The content is copied: edit it as you like.
Variables
Click Insert variable in the editor, or type them:
Hi {{ contact.first_name | default: "there" }},
| Variable | Value |
|---|---|
{{ contact.email }} | The recipient's address |
{{ contact.first_name }}, {{ contact.last_name }} | Name of the contact |
{{ contact.<attribute> }} | Any attribute: {{ contact.plan }}, {{ contact.company }} |
{{ data.<key> }} | Variables of a template, sent by your app or read from the event that started a flow: {{ data.reset_url }} |
{{ event.<property> }} | Properties of the event that started a flow: {{ event.cart_url }} |
{{ space.name }} | The name of your space |
{{ unsubscribe_url }} | The recipient's unsubscribe link (marketing emails) |
{{ preferences_url }} | The recipient's preferences page |
- A missing value renders as nothing. Add
| default: "…"to show a fallback instead. - Only the variables above are replaced. Any other
{{ ... }}, such as Vue or Handlebars code shown in an email, is sent as written. - Dotted paths read nested values and list items:
{{ data.order.total }},{{ event.items.0.name }}. - Values are escaped, so a name containing
<or&cannot break your HTML. - Variables only insert values. There are no conditions, loops or other filters: for logic, prepare the text in your app and send it as a variable.
What Kula does before sending
For each recipient, Kula:
- Fills in the variables with the contact's data.
- Rewrites links of marketing emails so clicks are counted, through your tracking subdomain:
https://link.acme.com/c/…. The reader lands on the original URL. Turn click tracking off in Settings › General with Track clicks. - Adds a 1×1 pixel to marketing emails to count opens, if Track opens is on.
- Adds a plain-text version, made from your content: a button becomes
Label: URL, social links one per line, images are left out unless they carry a link. Some mailbox providers reject HTML-only emails, and it helps deliverability everywhere. To write it yourself, open Plain text version under the editor: variables work there and links are tracked as in the HTML. On visual emails, your footer and the unsubscribe links still follow it. Leave it empty to go back to the derived version. - Adds the unsubscribe headers and links on marketing emails. Unsubscribe and preferences.
Transactional emails are not tracked unless your app asks for it, email by email: their links often carry single-use tokens (sign-in, password reset) that should go straight to your site. Track opens and clicks.
Opens and clicks made by machines (Apple Mail Privacy Protection, link scanners of company mailboxes) are recorded but flagged: they do not count as engagement and never lift the review of a contact.