Email builder for Mailgun
Tabular is an email builder for Mailgun. Design responsive emails on a visual canvas, upload them to Mailgun as a template in one click, and update the same template whenever they change.
{{first_name}}How Tabular works with Mailgun
Mailgun is an email delivery service with an API for transactional email. With Tabular, your team designs the emails and Mailgun sends them.
- Design in Tabular
On a visual canvas, with your design system and your team.
- Upload to Mailgun
Each email becomes a Mailgun template, ready for transactional emails, in the US or EU region.
- Change it, update it
Edit the email in Tabular and overwrite the same template. No copy and paste.
Emails you can build for Mailgun
Connect Mailgun
Mailgun connects with your region and your API key from Mailgun. You add them once, right in the export dialog.
- Create an API key in Mailgun
In Mailgun, open Account settingsAPI keys and create a key with the Developer or Admin role. A domain sending key can’t create templates.
- Open an email and click Export
Choose Send via integration, then pick Mailgun under All integrations.
- Fill in the form and upload
Use your sending domain, like
mg.yourbrand.com, as the authorization name. Pick the region, paste the key, and click Upload. - It’s saved for your workspace
Next time, pick it under Your authentications. Anyone in the workspace who can edit emails can use it.
Credentials are stored encrypted and belong to the workspace, not to one person. Remove them any time in workspace settings, under Integrations; what’s already in Mailgun stays there.
Create a new Mailgun template
Any email in Tabular can become a Mailgun template. Export it once, and Tabular remembers the template it created, so you can update it later.
- Open the email and click Export
Choose Send via integration. The language switcher in the header sets which language goes out.
- Pick your Mailgun connection
Or connect Mailgun first, as above.
- Upload
Tabular creates a Mailgun template named after the email. You’ll see Uploaded to Mailgun.
- Find it in Mailgun
Open SendingTemplates. Send it with its name as
template, and your data int:variables.
Order #1042
Thanks for your order.
Track your orderLumen
Reset your password.
OpenLumen
On its way.
OpenOrder #1042
Thanks for your order.
Track your orderLumen
Reset your password.
OpenLumen
On its way.
OpenOrder #1042
Thanks for your order.
Track your orderOrder #1042
Thanks for your order.
Track your orderMailgun’s US and EU regions are separate: a template made in one only exists there.
Update the Mailgun template after changes
Changed the email? Export again and pick the template it’s linked to. Tabular overwrites it in place: same template, same ID, new design.
- Change the email in Tabular
Text, images, layout, or a change to your design system.
- Click Export, then Send via integration
Under Update a connection, each card is one template in Mailgun, with its language and ID.
- Click the card
Tabular overwrites that template with the new HTML. Nothing new is created.
- Want a copy instead?
Choose Create new connection. That always makes a new template.
Order #1042
Thanks for your order.
Track your orderOrder #1042
Thanks for your order.
Track your orderLumen
Reset your password.
OpenLumen
On its way.
OpenOrder #1042
Thanks for your order.
Track your orderOrder #1042
Thanks for your order.
Track your orderLumen
Reset your password.
OpenLumen
On its way.
OpenOrder #1042
Thanks for your order.
Track your orderOrder #1042
Thanks for your order.
Track your orderTabular overwrites the template’s active version, so messages sent with the template’s name use the new design.
Personalization variables in Mailgun
Tabular never rewrites a merge tag. Type Mailgun’s own syntax, and it reaches Mailgun exactly as you wrote it.
| To show | Write in Tabular |
|---|---|
| First name | {{first_name}}From t:variables |
| First name, or “there” | {{#if first_name}}{{first_name}}{{else}}there{{/if}} |
| A nested value | {{order.total}} |
- Type the tag in any text
Write
{{first_name}}where it should go: a heading, a paragraph or a button. - Make it a variable
Select it and click { } in the text toolbar. It becomes a chip that can’t break while you edit.
- Give it example text
Type “Max”, and the canvas and previews show a name instead of code. The export keeps the tag.
- Links work the same way
Paste a tag as a link’s URL, like Mailgun’s unsubscribe link, and it goes out as written.
Hi Max, your spring picks are here.
Dynamic content: if/else and loops in Mailgun
Mailgun supports conditions and loops. In Tabular you wrap any block in them: show it to some people only, or repeat it for every item in a list.
- Select the block
A section, a row, a text, an image or a button.
- Add Show/hide block
In Dynamic content on the right, paste the condition’s opening and closing tags.
- Add Repeat block for lists
The same, with the loop’s tags. Inside the block, use each item’s fields, like
{{this.name}}. - Export
Tabular wraps the block in your tags, and Mailgun fills them in when it sends.
{{#equal plan "pro"}} <table class="offer">…</table> {{/equal}} {{#each items}} <tr><td>{{this.name}}</td></tr> {{/each}}
There’s no else field. For the other case, give a second block the opposite condition, like {{#unless paid}}, or type a whole if/else inside one text. Mailgun’s Handlebars has five helpers: if, unless, each, with and equal.