Send Your First Campaign¶
You have an app and subscribers — time to send your first email.
Create a New Email¶
- Navigate to your app's Emails section.
- Click New Email.
- Enter a subject line (this is what recipients see in their inbox).
- Optionally, give the email an internal name to help you find it later (e.g. "Launch Announcement").
Write Your Email in MJML¶
MailJawn uses MJML for email content — a markup language that compiles to responsive HTML that looks great on every email client.
Paste this starter template into the editor:
<mjml>
<mj-body>
<mj-section>
<mj-column>
<mj-text font-size="20px" font-weight="bold">
Hello from MailJawn!
</mj-text>
<mj-text>
This is your first campaign. Thanks for being a subscriber!
</mj-text>
<mj-button href="https://your-app.com">
Visit Our App
</mj-button>
</mj-column>
</mj-section>
<mj-section>
<mj-column>
<mj-text font-size="12px" color="#999999">
{{ company_name }} | {{ address }}
</mj-text>
<mj-text font-size="12px" color="#999999">
<a href="{{ unsubscribe_url }}">Unsubscribe</a>
</mj-text>
</mj-column>
</mj-section>
</mj-body>
</mjml>
Warning
Every marketing email must include an {{ unsubscribe_url }} link. This is a CAN-SPAM requirement. MailJawn will warn you if it's missing.
Template Variables¶
You can personalize emails with subscriber data:
| Variable | Output |
|---|---|
{{ subscriber.name }} |
Subscriber's name |
{{ subscriber.email }} |
Subscriber's email |
{{ company_name }} |
Your organization name |
{{ address }} |
Your organization mailing address |
{{ unsubscribe_url }} |
One-click unsubscribe link |
Use Jinja2 filters for fallbacks: {{ subscriber.name | default('there') }}.
Preview and Test¶
Use the live preview panel to see how your email renders. Before sending to your full list, send a test email to yourself:
- Click Send Test.
- Enter your email address.
- Check your inbox (or Mailpit in local development).
Send¶
When you're ready:
- Click Send.
- Choose your target audience — select All subscribers for your first campaign.
- Confirm and send.
MailJawn compiles your MJML to responsive HTML, renders template variables for each subscriber, and delivers the emails.
Check Results¶
After sending, the email detail page shows delivery results — opens, clicks, bounces, and unsubscribes. Give it a few minutes for tracking data to come in.
What's Next?¶
Congratulations — you've sent your first campaign! Here's where to go from here:
- Writing Emails — deeper dive into MJML and the editor
- Template Variables — all available variables and filters
- Tags & Segments — target specific groups of subscribers
- Welcome Series — auto-send emails when new subscribers join
- Campaign Reports — understand your email performance