In the last chapter, you saw that all email delivery solutions stick to a relatively similar structure with basic modules that tend to be the same across all tools: contact management, message creation, message delivery, and analytics. Letâs look at how these different operations work in practice.
So far, weâve covered creating a campaign brief, writing content, laying it out, and some of the rules around HTML coding in the email production cycle. Itâs now time to get this show on the road and complete the final few steps before hitting send.
Before sending out your campaign, you need to decide on your audience.
You may already have your email addresses uploaded to the software youâre using. Or you may not. Generally speaking, before a campaign, you have three options:
Your email addresses come from elsewhere (e-commerce site, CRM system, etc.). In this case, youâll need to import the file to your campaign management solution.
Your email addresses fall directly into your software. This may be the case if your delivery solution manages your sign-up forms.Â
Your email addresses automatically sync between your different information systems. This will be done by specialized integration modules (leading e-commerce software, for example, have various connectors to different ESPs) or using API (application programming interface).
Having email addresses is all well and good, but specifically selecting those you want to target for your campaign is even better.
Most email solutions have developed segmentation systems to precisely define which contacts you want to find in your database.
This segmentation uses logical operators of varying complexity, depending on the sophistication of the solution that youâre using. In more advanced solutions, you can use SQL (the programming language used to manipulate databases).
Here are a few examples with the basic logical operators, which are âequal to,â ânot equal to,â âor,â âand,â âgreater than,â and âless than.â
Letâs start with a simple example. You want to select all of the female contacts over the age of 30 (approximately):
(TITLE = âFâ) AND (BIRTH_YEAR > 1990)
If youâre no good at math or have a strong aversion to programming, donât worry! This won't look like code within your ESPÂ â you can do it all with a stylized graphical interface:

Letâs move onto a second example. In this one, weâre going to select either women or those over 30:

And finally, a slightly more complex example. Weâre going to select women over 30 and men over 40:
[ (TITLE = âFâ) AND (BIRTH_YEAR > 1990) ]
OR
[ (TITLE = âMâ) AND (BIRTH_YEAR > 1980) ]

This is a relatively basic approach using only declared data. You could, of course, take this much further by also using behavioral data, for example, women over 30 who have not opened an email for two months and have not placed an order for four months.
The key is knowing what data is available in your email solution and the options you have regarding the amount of data you can segment.
If youâre not using your softwareâs built-in email builder (see part 3, chapter 3), youâll need to import your HTML.
Depending on the tool youâre using, you can include this stage as part of the campaign creation process, or it may be in a separate section dedicated to the messages themselves.
Watch out: many platforms modify the code of imported emails and may disrupt their compatibility with different email clients. Depending on how your solution behaves, it might be a good idea to copy and paste the HTML code onto the platform rather than importing it.
As you saw (in part 1, chapter 2), itâs important to make things personal for your recipient.
Carry out personalization using your softwareâs editor, which will give you access to the list of available variables.
For our purposes, a variable is a chunk of text that will change when you send the email.
For example, with âHello ~NAME~â, the ~NAME~ variable will be automatically replaced by your recipientâs first name.
Different platforms format their variables in different ways. Here are a few examples:
~NAME~
[[NAME]]
@NAME
$NAME
Sometimes you might need your personalization to be slightly more sophisticated. For example, if you want to say âDear Mr. Jones,â you also need to be able to say âDear Ms. Jones.â
In most solutions, youâll be able to do this using the conditions IF, ELSE, and ELSEIF. Youâll end up with something a bit like this (again, the syntax will be different for each tool):
{% if TITLE == "M" %}Mr.{% elseif TITLE == "F" %}Ms.
{% else %}Dear{% endif %} {{ SURNAME }}
Once again, your only limit is your imagination and the amount of data you have at your disposal (which depends greatly on how sophisticated your email solution is).
With personalization, youâre displaying (with some subtleties) information contained in your subscriberâs profile. But it is possible to take things even further!
A conditional (or dynamic) block is a change in content that affects a part of an email depending on the person receiving it. Within the context of managing a campaign, you have to plan all blocks and add code between them to only appear for the right recipients.
So whatâs the technical difference between this and Dear Mr./Ms. SURNAME? None â itâs the precise goal thatâs different. For example, if you want to change your content depending on whether youâre emailing a prospective or existing client, youâll have something that looks like this:
{% if CONTACT_STATUS == "CLIENT" %}
⊠content for existing clients...
{% else %}
⊠content for others...
{% endif %}
This is a relatively simple example, but depending on the email platform youâre using, you might use more sophisticated techniques or more complex data.
Speaking of sophisticated techniques and complex data, letâs briefly consider product recommendations. This is a classic technique. Some marketing solutions will allow you to display products from your catalog that might be of particular interest to an existing customer by using their order history.
This is the final stage (apart from testing and checking, which weâll look at next chapter). You have two main options here:
Hitting the big red button to send your campaign out straight away.Â
Scheduling your campaign for a time that works best for you (once your offer has activated, for example) or your audience!Â

In the screenshot above, youâll see that thereâs a third option that lets you send your campaign at the best time. This technique is commonly known as Send Time Optimization (STO) and uses your contactâs response history to send them a message at the time when they will be most responsive.
It has been shown to boost response rates significantly - you may want to test this with your audience and see how well it works!
Consider segmenting your contacts, and donât forget to keep your data up to date.Â
Donât forget to check that you have the data you need for the segmenting and personalization you want. Â
Take care when importing your HTML and check that the code hasnât broken.Â
Use personalization variables to make your emails more personal. Â
The next chapter will look at how to test and check your campaigns to ensure they donât contain any errors.