Useful resources for your campaigns
There are some great resources for your email marketing campaigns, that can help you build and deliver better emails. We compiled a list of elements that you can have in your campaings, to increase its value and ROI.
We’ll see:
- Useful elements for your messages
- Imporant email elements and how to improve them
Contact information
If you want to know how to include custom fields in Mailee for your contacts, see this article. There are two main ways you can add your contact’s dynamic fields in your messages to make it more personal.
Let’s say you want to have a phrase like this in your message:
<p>Good Morning, Contact Name!</p>
<p>Check out the offers we have selected just for you.</p>
To add your contact’s name to the message, add the <span> </span>
element with the attribute class="contact INFORMATION"
, where INFORMATION should be the tag
of the field you want to add. In this case, we want Contact Name, which is identified in our list by the name
tag. Our HTML code will look like this:
<p>Good Morning, <span class="contact name"></span>!</p>
<p>Check out the offers we have selected just for you.</p>
You can leave the <span class="contact name"></span>
field empty and Mailee will automatically get the the information stored in your contact database. If, by any chance, the name
tag is empty, Mailee will, as a fallback, leave it empty, so the contact will receive the following phrase: Good Morning! Check out the offers we have selected just for you.
Avoid using fallback names such as "John Doe", because, when you send a message, the contact will receive the message with this name and not their real name .
There’s also another way to include these commands, a new syntax. Instead of using, let’s say:
<span class="contact name"></span>
you can use
<p> Hello, {{ name }}</p>
Don't forget: try not to use "John Doe" as a fallback.
An interesting use of this syntax is, for example, if you want to create a custom link. It goes like this:
<a href="http://meusistema.com/users/{{internal_id}}">Access your profile</a>
Using this syntax, every user will have a link directed to their profile. This is an interesting way to maintain a better relationship with your audience.
This new syntax with the same fields as the <span><span
syntax, is as you can see below:
contact id
- Contact’s id in Mailee.mecontact name
- Contact’s namecontact contact_status_id
- Status idcontact internal_id
- Your system’s internal id for this contactcontact sex
- Contact’s sexcontact birthday
- Contact’s birthdaycontact age
- Contact’s agecontact phone
- Contact’s phone numbercontact mobile
- Contact’s mobile numbercontact address
- Contact’s addresscontact notes
- Other information
Custom fields information
Custom fields can be created when you import contacts directly in Mailee. Imported data can can also be included in your messages or even used for list segmentation.
Let’s say you have a custom field called style and, to have it in your message, you can just add the following code:
Do you like <span class="contact style">music</span>?
Mailee will automatically change the information present in <span class="contact style"></span>
to the information present in your database under the style
tag.
When using custom fields in your message, you should use the field’s tag and not its name.
Using your list’s information
All messages sent through Mailee are related to a contact list. To customize your message with list information, you can include the attribute class="list +information+"
(substituting +information+ for the desired field’s name).
Check out the following example:
Our company's address is:
To insert the company’s address information present in your list (remember list management?), you can add a <span>
with the class="list address"
attribute. See the following:
<html>
<p>
Our company's address is <span class="list address"> Wall Street, nº 2.</span>.
</p>
</html>
Check out the information list available in Mailee:
class="list id
- List id in Maileelist name"
- List’s namelist description"
- List’s description. Here, you can add useful information about your audience.list address
- Addresslist phone
- Phone numberlist company
- Company’s name
See how to fill in those fields in list management.
Did you know that adding the company’s name, address and phone is mandatory, according to USA laws? Besides that, thia is a good email marketing pratice. You can see more about that in this CAN SPAM article.
Date information
It is possible to include date information, fulfilled automatically by Mailee, in your messages.
Let’s say you want to include the current date:
<html>
<p>
Today is 10/01/17
</p>
</html>
All you have to do is include the following code:
<html>
<p>
Today is <span class="auto date"></span>.
</p>
</html>
Mailee will automatically swap the <span class="auto date"></span>
for the date of the sending.
In order for this to function correctly, these codes must be added in the HTML of your email marketing, not as text in your message.
See the list of date
information in Mailee:
class="auto date
- Complete current date, with day, month and year.class="auto day"
- Current day of the month.class="auto full_weekday
- Current day of the week, such as Monday, Tuesday, etc.class="auto month
- Current month (number)class="auto full_month_name
- Current month, such as January, February, March, etc…class="auto year
- Current year
Dynamic Links
Mailee generates dynamic links, making some email marketing tasks easier.
You can easily include an unsubscribe link, making your email marketing CAN-SPAM compliant, a view in web link, for users who want to see the message in a web browser, the forward link, giving your contact a chance to forward this message to friends, and also the whitelist link, for users to add your “from” email to their whitelist.
Unsubscribe
The unsubscribe link is essential to any email marketing campaign. It provides the user an easy way to opt out of your campaigns.
To include an unsubscribe link to your message, you can use the following code:
<p>
To opt out of this campaign, just
<a href="#" class="unsubscribe">click here</a>.
</p>
Mailee will swap <a href="#">
for the correct unsubscribe link.
View in browser link
The view in the browser link (or weblink) is a good option to ensure thar the users who may face problems visualizing your message have a chance to view it correctly in their browser, as a web page.
To include a weblink in a message, use the following code:
<p>
To view this email in your browser,
<a href="#" class="weblink">click here</a>.
</p>
Mailee will swap <a href="#">
for the correct view in your browser link.
Forward to a friend link
With the forward link you allow your contacts to forward the message to their friends, which can generate new subscribers to your list.
To include a forward link in your message, you can use the following code:
<p>
To forward this message to your friends,
<a href="#" class="forward">click here</a>.
</p>
Mailee will swap <a href="#">
for the correct forward link.
Add to whitelist link
With the add to whitelist link, you allow your contacts to add your address to whitelist and ensure that your messages always arrive at their inbox.
To include a whitelist link in your message, you can use the following code:
<p>
If you want our messages to always arrive at your inbox, add us to your whitelist
<a href="#" class="whitelist"> by following our instructions </a>.
</p>
Mailee will swap <a href="#">
for the correct whitelist link.
Preheader
Preheader is the text that will appear before your message’s heading. Some email clients, such as Gmail, show a preview of the message right after the subject line, and, by using a preheader, you can make use of this space to get your user’s attention.
If you’re using one of Mailee.me’s ready to use templates, you can add a preheader directly in the message by clicking the Content tab, in the block edition. If you’re editing an HTML document, just add a paragraph <p> This is my preheader</p>
before your email’s content.
Subject Line
The subject line is one of the most important elements of email marketing. It is estimated that people take from three to four seconds to decide if they will open your message or not, so it is really worth spending some time coming up with a great subject line. You can use emojis, test different approaches and specific words.
You can also include your contact’s information in your subject line, thereby establishing an even more personal communication with your contacts.
To include your contact’s information in the subject line: use the attribute like this:
{{attribute}}
.
For example, if you want to add your contact’s name, just go:
{{name }}, get to know what's new in Mailee.me!