Dynamic content in email marketing: one campaign, a different message for each subscriber
How to make each contact see the greeting, block or offer meant for them within the same campaign, and where to start
Dynamic content is the part of an email that changes based on the recipient’s data.
You send a single campaign, but each subscriber sees the greeting, block or offer that fits them.
It’s the next step after putting the name in the subject line. And you don’t need to code to start using it.
What is dynamic content in email marketing?
Short answer: it’s content that your sending tool fills in or displays differently for each contact, based on their data.
In a static email, everyone reads the same thing. In an email with dynamic content, part of the message depends on rules.
For example, “if they live in Madrid, show this event” or “if they have never bought anything, show the welcome coupon”.
The data comes from your list: each contact’s custom fields, the groups they belong to or what they have done with your emails.
How it works
It all relies on two pieces that the tool resolves at the moment of sending.
Variables
A variable is a placeholder that is replaced with a piece of the contact’s data. You write “Hi” followed by the name variable, and each person reads their own.
They work for the greeting, the city, the company name or the renewal date. They also work in the email subject line.
Conditional blocks
A conditional block is a part of the email that only appears if the contact meets a condition.
It can be a paragraph, an image or a whole section. Anyone who doesn’t meet the condition sees nothing, or sees an alternative block.
Dynamic content vs. segmentation
The two techniques are often confused, but they solve different problems and usually go together.
| Segmentation | Dynamic content | |
|---|---|---|
| What it decides | Who you send the email to | What each person sees inside the email |
| Number of campaigns | One per segment | One for everyone |
| Example | Campaign only for customers in Barcelona | Same campaign with a different block for Barcelona |
| When it makes sense | Messages that change almost completely | Messages with a common base |
If only one section changes, dynamic content saves you from duplicating campaigns. If the whole message changes, segmentation is clearer.

Personalize your campaigns from the free account
Variables, default values and conditional blocks included. Up to 80,000 emails a month for free.
Types of dynamic content
They don’t all need the same data or the same amount of work. From simplest to most complex, these are the usual ones.
Contact data
This is the basic level. The name in the greeting, the city in an invitation or the subscribed plan in a notice.
It works with any list that has those fields filled in. It’s the first step of personalization in email marketing.
Blocks by profile or interest
Here a whole section changes. A training school shows the English course to those who ticked “languages” and the Excel course to those who ticked “office software”.
It’s the use that pays off most in a newsletter with mixed audiences.
Behavior-based content
The email changes based on what the contact did: buying, opening, clicking or abandoning a cart.
It’s usually combined with automated emails, such as the abandoned cart email or the birthday email.
Real-time content
Some tools change an image at the moment the email is opened: a countdown, the local weather or the stock left.
It requires external services and more testing. For most small businesses, the three previous types deliver more results with less effort.
Examples of dynamic content
These cases use a single campaign with one or two rules.
Online store: a men’s or women’s block based on the preference the customer chose when subscribing.
Gym: opening hours of the nearest location based on the member’s city.
Software: a renewal notice with each customer’s date and an extra block for those still on the free plan.
Restaurant: a different daily menu for those who chose “vegetarian” in the form.
In every case, the rest of the email is the same for everyone. Only the part that matters to each person changes.
How to get started with dynamic content
You don’t have to set everything up at once. This order avoids most mistakes.
- Choose a piece of data you already have filled in for almost your whole list.
- Decide which block changes with that data and write the alternative version.
- Set a default value for anyone who doesn’t have the data.
- Check the preview with several profiles and send yourself tests.
- Compare opens, clicks and unsubscribes with a campaign without rules.
Start with a single conditional block. Once it works, add the next one.

Common mistakes
Almost all failures come from the data, not from the tool.
Empty or misspelled fields
If the name is missing and there is no default value, the email says “Hi ,”. Check your fields before you import contacts and clean up the ones that arrive messy.
Too many rules
Each condition multiplies the versions you have to check. With three or four dynamic blocks, it’s already hard to check every combination.
Using data the subscriber didn’t expect
Showing something the person doesn’t know you know feels uncomfortable. Use the data they gave you for a clear purpose, as the GDPR requires.
How Mailrelay helps you
In Mailrelay you can use dynamic content from the free account, without special templates.
Variables are inserted from the editor’s “Variables” drop-down. For example, {{ subscriber.name }} for the name or {{ subscriber.custom_fields.deporte }} for a custom field. Each variable accepts a default value.
For conditional blocks, you wrap the content in a condition, such as {% if subscriber.custom_fields.deporte == "Karate" %}, and close it with {% endif %}.
The subject line also accepts variables through the “Add variables” drop-down. It’s explained step by step, with screenshots, in the guide on dynamic variables to personalize your emails.
The free account lets you send up to 80,000 emails a month to 20,000 contacts, with human support if you get stuck on a condition.
One campaign, a message for each subscriber
Create your account and try your first conditional block, with human support if you need it.
Frequently asked questions
These are the most common questions when getting started.
Does dynamic content improve results?
It usually improves clicks, because each person sees what interests them. Check it with your own list with an A/B test: the same campaign with and without the dynamic block.
What happens if a contact doesn’t have the data?
The variable stays empty or the block doesn’t appear. That’s why you should always set a default value or an alternative block.
Does it affect deliverability?
Not in itself. What matters is that the email displays correctly in all its versions, so check the email rendering of each variant.
Key takeaways
Dynamic content lets you send a single campaign that each subscriber reads as if it were written for them.
Start with one reliable piece of data and one block, set default values and check each version before sending.
Related articles
Dynamic content depends on your data and on how you organize your list. These articles cover each piece.