Overview
Send emails to your audience using campaigns. Campaigns let you select a segment or list as recipients, configure sender settings, and track results.
Real-time delivery logs with open, click, and bounce tracking
Email sending in Migma is done through the Campaigns section, not from the Contacts page directly.
Quick Start
1
Create your email
Use Migma’s AI tools to create an email in the chat editor.
3
Create a campaign
Go to Campaigns and create a campaign. Select your email, choose recipients (segment or list), configure sender settings, and send or schedule.
Prerequisites
- Connected email provider (Migma, Amazon SES, Resend, SendGrid, or Mailgun)
- Verified sending domain
- At least one contact with
subscribedstatus
Setup Email Provider
Connect and configure your email service provider
Unsubscribe & Compliance
Migma handles compliance automatically:- Unsubscribe links are added to every marketing email
- Clicking unsubscribe updates the contact’s status immediately
- Unsubscribed contacts cannot receive marketing emails
- Preference center lets subscribers manage their topic preferences
Send via API
Send emails programmatically via the SDK, CLI, or API. Thefrom address determines your sending domain — it must be a verified domain. The optional providerType field selects which email service provider delivers the message. It defaults to migma (built-in sending).
For generated emails, use the emailId returned by generation status or shown in Publish → Send via API. conversationId identifies the whole chat thread; it works for single-email conversations, but multi-slot emails and series need emailId so the API knows which email to send.
- Migma (default)
- Amazon SES
- Resend
- SendGrid
- Mailgun
No
providerType needed — Migma sends by default. Use a verified sending domain (managed or custom).Sending Domains
Set up and verify a sending domain
Email Service Providers
Connect an external ESP
How contact fields and variables appear
When you send with Migma, tags such as{{firstName}} fill from the contact, and from variables when you send through the API. Values print as typed. HTML or Markdown in a value, such as <a href="..."> or **bold**, shows as those characters in the email and does not add a link or formatting. To style a value, format its tag in the email. The one exception is HTML you built for an API send, described below.
A value used as a link or image destination still takes a complete URL, such as https://example.com/reset?token=abc.
An exported email keeps its tags for the destination platform to fill.
Send HTML you built
Some emails need a block only your system can build, such as an order’s item list, a totals table, or a tracking button. On a single-recipient API send there are two ways to send it. Migma renders it as HTML where its tag sits in the email. Name the variable so it ends in_html. A variable such as items_html or track_button_html in variables renders as HTML. Every other variable prints as typed.
htmlVariables. Use this when the variable has another name, or when you want the request to say which values are HTML.
- Both ways work for single-recipient sends through the API (
recipientType: 'email'). A send to a list or segment refuseshtmlVariablesand prints a variable named_htmlas typed. Test emails and sends that wait for approval in Migma also print a variable named_htmlas typed. - A name goes in
variablesor inhtmlVariables, never both. Names Migma fills from the recipient, such asfirstName,email, and the unsubscribe link, cannot be HTML variables. - A send takes up to 50 HTML variables of up to 100,000 characters each.
- The HTML renders where its tag sits in the email’s text. A tag inside a link address, an image description, or the subject still prints as typed.
- You are responsible for the HTML. Escape any text your own customers typed, such as a name or a note, before you place it inside.
Transactional vs Marketing
Migma automatically infers the email type from how you send:
Transactional emails bypass subscription status, skip topic filtering, and omit List-Unsubscribe headers. Bounced addresses are always excluded.
This means single sends just work — no extra flags needed:
transactional flag to override the default:
Next Steps
Send a Campaign
Step-by-step campaign guide
Track Results
Monitor campaign performance
Manage Contacts
Organize your subscriber list
Setup ESP
Connect email service provider