New guide: how to warm up a dedicated IP without hurting your reputation. Read now →
Log in
MigoSMTP
Templates & Editor

Design once, send everywhere

Build email templates your whole team can use, with variables, previews and version history.

AI drafts subject lines and copy variants; your team approves what ships.

HeaderLogo and nav
+ Add
Added
ButtonCall to action
+ Add
Added
ReceiptOrder summary
+ Add
Added
FooterLinks and legal
+ Add
Added
Block library
Brand safe
Start from reusable blocksHeaders, buttons, receipts and footers are blocks you assemble once and reuse across every template.
Template
Preview
<h1>Hi {{name}},</h1>
<p>Order {{order}} is</p>
<p>on its way.</p>
Hi Priya,
Order #[id] is
on its way.
name → Priya
order → #[id]
Merge fields
Fallbacks
Personalise with variablesMerge fields like {{name}} are swapped for real data at send time, so one template serves every user.
DRAFT
IN REVIEW
LIVE
welcome v3New hero
receipt v7Tax line
reset v2Approved
digest v1Needs copy
Versioned
Rollback
Review before it goes liveDrafts are reviewed and published as versions, so a typo never reaches customers and you can roll back in a click.
Request
POST /v1/send
{ "template": "welcome",
"data": { "name": "Priya" } }
Response
202 Accepted
{ "id": "msg_[id]" }
Renders at send time
202 Accepted
Template id
Data only
Send by template idReference a template and pass only the data. Layout and copy stay in one place, not in your code.
Your draft
AI suggestion
URGENT!!! Your order
is ready, click NOW
Hi {{first_name}}
Your order is on its way
Track it any time here
Hi {{first_name}}
AI
[n] → 0Spam-style phrases
ShorterSubject length
IntactVariables
Keeps variables
You approve
Draft and improve copy with AIPaste a draft and the assistant proposes a clearer subject, trims spammy phrasing and keeps your variables intact. You edit and approve every change.
Template performance
Delivered[n]
Opened[n]
Clicked[n]
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Per template
A/B ready
Measure each templateOpens and clicks are grouped by template, so you can see which copy and layout earns attention.
Blocks
Variables
Versions
Send
AI writer
Results
SMTP relayREST APIWebhooksDedicated IPsDKIM signingInbound parseTemplatesAnalyticsSuppression listsReputation monitoringEmail validationTeam roles and audit logSMTP relayREST APIWebhooksDedicated IPsDKIM signingInbound parseTemplatesAnalyticsSuppression listsReputation monitoringEmail validationTeam roles and audit log
Capabilities

Content that does not live in code

Visual and HTML editor

Work visually or in code, whichever fits the author.

Marketers can build visually while developers can work in HTML, and both produce the same template. Each author uses the tool that suits them, and nobody has to wait for a developer to change a sentence.

  • Visual and code modes
  • Responsive output
  • One template for every sender

Variables and conditions

Personalise content and show blocks conditionally.

Personalise with variables for names, order details or anything else you pass in, and show or hide blocks with conditions. One template can serve many audiences instead of many near-copies.

  • Variables in subject and body
  • Conditional blocks
  • Fewer templates to maintain

Versioning and rollback

Every change is saved and can be restored.

Every change is saved as a version you can compare and restore. If an update breaks a layout, you roll back in a click instead of rebuilding from memory.

  • Full history
  • Restore any version
  • Safer edits to live templates

Test sends and previews

Check rendering before anything goes live.

Preview a template and send a test to yourself before anything reaches customers. Catching a broken button or missing variable in testing is far cheaper than in production.

  • Preview before sending
  • Test sends
  • Check variables with sample data

Reusable blocks

Share headers, footers and legal text.

Shared headers, footers and legal text live in one place. Update the block once and every template that uses it stays consistent, which matters for brand and compliance copy.

  • Edit once, update everywhere
  • Consistent branding
  • Keep legal text current

Workspace libraries

Keep brands and clients separate.

Libraries keep each brand or client's templates separate, so teams only see what belongs to them. It suits agencies and multi-brand companies that need tidy, safe organisation.

  • Per-workspace libraries
  • Clear ownership
  • Less risk of using the wrong template

How it works

AuthorEdits a template in the visual or HTML editor and previews it with sample data.
Published versionA reviewed version goes live. Earlier versions stay available for rollback.
Your app sends by nameCalls the template from the API or SMTP headers and passes the variables.
STEP 1

Create a template

Start blank or from a base layout.

STEP 2

Add variables

Mark the parts that change per message.

STEP 3

Send by name

Call the template from the API or SMTP headers.

See it in action

Email templates in action

Each stage plays automatically. Select one to pause on it. Illustrative interface: all figures and addresses shown are sample data.

app.migosmtp.com/templatesSample data
Editor
Visual + HTML
Layout
Responsive
Blocks
Reusable
Sample activityDesign
startblank or layout
editdrag a block
codeHTML mode
saveversion stored
Variables
8
Conditions
2
Fallbacks
Set
Sample activityPersonalise
varfirst_name
varorder_total
ifshow banner
fallbackdefault text
Preview
Desktop + mobile
Test send
To you
Checks
Variables
Sample activityTest
previewrendered
testsent to you
checkmissing variable flagged
fixcorrected
Versions
12
Libraries
Per brand
Blocks
Shared
Sample activityVersion
versionv12 saved
comparev11 vs v12
restorev11 restored
footerupdated everywhere
Collaboration

Let non-developers update email safely

Marketing and support can edit content while engineering keeps the sending logic untouched.

  • Role-based edit and publish rights
  • Draft and published versions
  • Preview with sample data
  • Plain-text version generated automatically
At a glance01 / 04
EditorVisual and HTML
PersonalisationVariables and conditions
HistoryVersion list with rollback
UseAPI and SMTP
Overview

What is email templates?

An email template is a reusable layout with placeholders that your system fills with real data when it sends a message. The MigoSMTP template editor lets you build templates visually or in HTML, mark variables such as a first name or order number, add conditional blocks, and send by template name from the API or SMTP headers. Every change is saved as a version. Authors preview changes with sample data before anything is sent.

Templates are for teams where developers and non-developers share email. Marketing and support can edit wording and design, while engineering keeps the sending logic untouched. Role-based rights separate who can edit from who can publish, and previews with sample data let authors check rendering before anything goes live. Reusable blocks keep headers, footers and legal text consistent. Plain-text parts are generated automatically and can be edited by hand, and test sends confirm rendering before launch.

Template quality affects deliverability more than most teams expect. Broken HTML, missing plain-text parts and spammy phrasing all hurt inbox placement. A managed editor catches these before sending, and AI assistance can suggest subject lines and tighten copy, with a person approving every change before it is published. Teams that standardise on templates also find it easier to meet brand, accessibility and legal requirements, because the footer and unsubscribe wording live in one place.

Use cases

Common email templates use cases

Order and shipping notifications

Create an order-shipped template with order number, tracking link and an optional gift note. Your code sends the name and variables, and copy tweaks never need a deploy.

Marketing edits without developers

Let the marketing team update promotional wording and imagery in the editor, publish when approved, and leave engineering free of requests for small text changes.

Per-client libraries for agencies

Keep each client's brand blocks and templates in a separate workspace library, so headers, footers and legal text never leak between accounts.

Safe rollback after a bad edit

If a published change breaks rendering, open the version list and restore the previous version. Messages sent afterwards use the restored template immediately.

Account and security emails

Keep password resets, sign-in alerts and verification messages in templates with fixed wording and your legal footer, so the same approved text is used every time.

Localised versions

Maintain one template per language with the same variables, and let your code pick the version by customer locale. Reviewers can read each language side by side.

Choosing a method

Templates or HTML in your code?

Both work. The difference is who can change an email and how fast.

MigoSMTP templatesHTML in your codebase
Who editsMarketing, support or developers, with role-based rightsDevelopers only
Changing copyEdit, preview and publish without a deployChange code, review, deploy
HistoryVersion list with rollbackSource control, if the email is tracked there
ConsistencyShared headers, footers and legal blocksCopied between files

Your code only sends the template name and the variables, so the sending logic stays the same either way.

AI features

AI-assisted email templates

Copy

Subject line suggestions

Give the assistant a goal and audience and it proposes several subject lines and preheaders. You choose, edit or discard; nothing is saved to a live template without your approval.

Assist

Copy tightening and tone

Highlight a paragraph and ask for shorter, clearer or more formal wording. The assistant shows its edit as a suggestion that you accept or reject, preserving your variables.

Copilot

Pre-send quality review

A copilot checks a template for broken variables, missing alt text, heavy images and phrases that commonly trigger spam filters, then lists fixes. You decide which to apply.

Predictive

Send-time optimisation

For campaign-style sends, models suggest delivery windows based on past engagement of your own audience. Suggestions are optional, and you can keep a fixed schedule.

AI features are assistive: they propose wording and checks, and your team reviews and publishes every template.

Best practices

Best practices for email templates

Always include a plain-text part

Multipart messages with a sensible text version look more legitimate to filters and work better for accessibility. Generate it from HTML, then edit by hand.

Give variables safe fallbacks

If a first name is missing, an empty greeting looks broken. Define a fallback such as a neutral salutation for every personalised field.

Preview with realistic sample data

Test with long names, missing values and unusual characters. Edge cases are where layouts and conditions most often fail.

Separate draft from published

Edit in draft, send a test to yourself, and publish only after review. Role-based rights make this a rule rather than a habit.

Keep HTML light and tested

Avoid image-only emails and oversized files. Check rendering in the clients your audience uses, since support for CSS differs widely.

Name templates by purpose

Use names like order-shipped or password-reset. Code that sends by name stays readable, and authors can find the right template quickly.

FAQs

Email templates: frequently asked questions

Moving existing emails into templates? Our team can help you plan it.

What is an email template?

An email template is a saved email layout with placeholders, called variables, that are replaced with real values when a message is sent. It lets you write the design and wording once, then send many personalised messages from code or a campaign.

How do I send an email using a template?

Create the template, mark its variables, then call it by name from the API with values for each variable, or reference it in SMTP headers. The system renders the template and delivers the message. See the API reference for fields.

Which template language does MigoSMTP use?

The editor supports variables and conditional blocks, and the preview shows the rendered result with sample data before you publish. The documentation lists the exact syntax. Describe each variable in the template notes so authors know what to fill in.

Can I import my existing HTML email?

Yes. Paste or upload your HTML and add variables where content should change. Review the preview, check the plain-text version, and send a test before using the template in production.

What is the difference between a template and a campaign?

A template is reusable content and layout. A campaign or send is an instance of that content going to specific recipients at a point in time. One template can power many sends, so improving it improves all of them. Review the result carefully before publishing.

Can I roll back a template change?

Yes. Every saved change creates a version, and you can restore an earlier one. Messages sent after the restore use the restored version, while earlier messages are unaffected. Rollback is useful when a late edit breaks a layout. Compare versions side by side first to be sure you restore the one you want to keep.

How does AI help with email templates?

AI can suggest subject lines, tighten copy and review a template for broken variables and spam-trigger phrases. Every suggestion is optional, and your team reviews and publishes each template.

Can non-developers edit templates safely?

Yes. Role-based rights let marketers and support staff edit and, if you allow it, publish content, while developers retain control of API keys and sending logic. Draft and published versions keep unfinished work away from live sends. Drafts stay private until they are published.

From the blog

Latest analysis, trends and market data

Start sending in minutes.

Create an account, add your domain and send your first email.