Customize your emails using contact attributes

In this article, we will explain how you can customize your emails with contact attributes (first name, last name, email address, etc.) to engage your email recipients and improve metrics, such as open rates and response rates, using Sendinblue.

❗️ Important
This procedure is different according to the Drag & Drop version you're using. Please use the above table of content to see the dedicated procedure.

Good to know

How contact attributes work in emails

Your Sendinblue contacts list contains contact attributes that refer to information you store about each of your contacts. You can customize your emails using contact attributes by inserting placeholders in your email templates and campaigns.

What are contact attributes placeholders?

These placeholders are tags that pull contact-specific information (first name, email address, phone number, etc.) into your emails. When you insert a contact attribute placeholder into your email template, it will be automatically replaced by the personalized information stored for each contact at the time your email is sent.

mceclip0.png

Personalize your email content in the Drag & Drop Editor (New)

Check out this video tutorial to learn how to add personalized salutation in an email using the Drag & Drop Editor (New) 🚀.

To add contact attributes placeholders in the Drag & Drop Editor (New):

  1. In your email, select a button text or a text content block and click Add personalization in the formatting toolbar.
  2. In the Insert personalization popup, search and browse through the list of contact attributes to locate the attribute that you would like to insert as a placeholder.
  3. Add a fallback text that will be displayed if the contact attribute is empty for a recipient. Example "Hey there" if you want to send "Hey FIRSTNAME".
  4. Click Insert.
  5. When personalization is inserted, a red placeholder with the name of the contact attribute will be visible.

mceclip0.png

In the above example, if the email is received by a recipient named Jessica then she would see her name displayed in the email in place of the FIRSTNAME placeholder. The word "there" would be displayed for recipients who do not have a first name in your contact list.

Insert advanced conditions

Use this personalization when you want to display contact information according to a set of conditions, for example according to the gender of the recipient or their favorite colour.

2021-06-10_15-28-56.gif

To insert advanced conditions:

  1. In your email, select a button text or a text content block and click Personalization in the formatting toolbar.
  2. In the Advanced (conditions) tab:
    • You can add multiple cases to suit your needs. For example, adding different greetings for male and female recipients.
    • For each case, you can add multiple conditions on your contact attributes and also specify the text to be displayed.
    • A specified text in a case will be displayed in your email when the respective case is true otherwise the fallback text will be displayed.
      mceclip2.png
  3. When advanced conditions are inserted, then an If/Else placeholder is visible in your email template.

mceclip3.png

Edit inserted contact attribute placeholder

To make changes to an already inserted placeholder:

  1. Click the contact attribute placeholder that you wish to edit.
  2. The Insert personalization popup will open displaying the existing personalization.
  3. Make your changes and click Insert. The changes will be applied.

Personalize your email content in the Drag & Drop Editor (Classic)

Check out this video tutorial to learn how to customize an email using the Drag & Drop Editor (Classic) 🚀.

If you are using the Drag & Drop Editor (Classic), you can use the Personnalize option from the formatting bar and select a contact attribute. In this editor, the contact attribute placeholder will appear as plain text instead of a red tag. We'll explain How are contact attributes placeholders structured just below.

Personalize_content_EN.png

Personalize your email content manually

If you prefer to create your emails in the Rich Text or Paste Your Code editors, you can manually add your contact attributes placeholders following the format {{ contact.ATTRIBUTE }} where ATTRIBUTE is to be replaced by the name of your contact attribute exactly as it appears on your contacts list.

Input Output
{{ contact.FIRSTNAME }} Louis
{{ contact.EMAIL }} louis@example.com
{{ contact.SMS }} +1-541-754-3010

How are contact attributes placeholders structured?

 Each contact attribute corresponds to a unique placeholder, which is structured as {{ contact.ATTRIBUTE }} with 2 curly brackets, spaces, and the contact attribute in caps. The word ATTRIBUTE should be replaced with the name of your contact attribute as it appears in your contacts list.

Personalize_subject-example2_EN.png

For example, to include your contacts' first names in your email, insert the {{ contact.FIRSTNAME }} placeholder in your email template. When a contact receives the email, their own name will appear where the placeholder was placed.

Personalize your email setup

Personalize your subject line and preview text

To add contact attributes placeholders in the subject line and preview text of your email:

  1. At the Setup step of your email creation, click Add Personalization in the Subject Line and Preview text fields.
  2. Select the contact attribute that you want to insert as a placeholder.
  3. Add a fallback text that will be displayed if the contact attribute is empty for a recipient.
  4. When personalization is inserted, then a red placeholder with the name of the contact attribute will be visible.

Then, if the email is sent to the contact mattw@sendinblue.com, whose contact attribute for FIRSTNAME is Matt, the email subject will appear as follow in his inbox:

subject_line_EN.png

Personalize your From name

It is a bit less common but you can also personalize the From Name at the Setup step of your email creation. In this case, you need to manually add the placeholder {{ contact.ATTRIBUTE }} and replace ATTRIBUTE with your contact attribute as it appears in your contacts list.

For example, if your company assigns an account manager to each contact in your list, you might want to insert this person's name as the sender of the email, rather than inserting your company's name so that they are more inclined to open the email.

Then, if the email is sent to the contact mattw@sendinblue.com, whose contact attribute for ACCOUNTMGR is Bruce Banner, the email will appear as follow in his inbox:

Exemple_attributes_from_name.png

⏩ What's next?