Email builder for Mailtrap
Tabular is an email builder for Mailtrap. Design responsive emails on a visual canvas, upload them to Mailtrap as a template in one click, and update the same template whenever they change.
{{first_name}}How Tabular works with Mailtrap
Mailtrap is an email delivery platform for testing and sending email. With Tabular, your team designs the emails and Mailtrap sends them.
- Design in Tabular
On a visual canvas, with your design system and your team.
- Upload to Mailtrap
Each email becomes a Mailtrap template, ready for transactional emails.
- Change it, update it
Edit the email in Tabular and overwrite the same template. No copy and paste.
Emails you can build for Mailtrap
Connect Mailtrap
Mailtrap connects with your template category and your API token from Mailtrap. You add them once, right in the export dialog.
- Create an API key in Mailtrap
In Mailtrap, open SettingsAPI Tokens and create a token with Admin access to the account or domain you use for templates.
- Open an email and click Export
Choose Send via integration, then pick Mailtrap under All integrations.
- Fill in the form and upload
Name the connection, add the template category and the API token, 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.
Mailtrap tokens expire after 365 days by default. When uploads stop working, add a new token. 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 Mailtrap stays there.
Create a new Mailtrap template
Any email in Tabular can become a Mailtrap 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 Mailtrap connection
Or connect Mailtrap first, as above.
- Upload
Tabular creates a Mailtrap template named after the email, with its subject line and a plain-text version. You’ll see Uploaded to Mailtrap.
- Find it in Mailtrap
Open Templates. Its Integration tab shows the template UUID. Send with
template_uuidand your data intemplate_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 orderUpdate the Mailtrap 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 Mailtrap, with its language and ID.
- Click the card
Tabular overwrites that template with the new HTML and subject line. 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 orderMailtrap keeps no versions: the next email sent with that template uses the new design.
Personalization variables in Mailtrap
Tabular never rewrites a merge tag. Type Mailtrap’s own syntax, and it reaches Mailtrap exactly as you wrote it.
| To show | Write in Tabular |
|---|---|
| First name | {{first_name}}From template_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 Mailtrap’s unsubscribe link, and it goes out as written.
Hi Max, your spring picks are here.
Dynamic content: if/else and loops in Mailtrap
Mailtrap 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
{{name}}. - Export
Tabular wraps the block in your tags, and Mailtrap fills them in when it sends.
{{#if user.isSubscribed}} <table class="offer">…</table> {{/if}} {{#each order.items}} <tr><td>{{name}}</td></tr> {{/each}}
There’s no else field. For the other case, give a second block the opposite condition, like {{#unless user.isSubscribed}}, or type a whole if/else inside one text. Mailtrap’s Handlebars has four helpers: if, unless, each and with.