---
title: Email Message Action
slug: tesco-mobile-hol-2025/email-message-action
docTags: 
createdAt: 2025-07-09T14:37:37.791Z
---

Our Journey so far:&#x20;

![](https://api.archbee.com/api/optimize/Kr9jNQk3X89PNSZafWHK9-2gKwcke0I4ANQjS_sQGvq-20250716-202928.png)

## Email - Data Warning Email

In the next steps you will be building the email for your journey. You'll pick a fully completed template of the email so that you don't have to build anything at all, we'll just add our personalisation to the template.

### Building the Email

1. From the actions tab, choose **Email** and drag it onto the :FontAwesome[]{icon="fa-solid fa-circle-plus"} **icon** after the custom action.
2. Click on the activity to open the detailed view.
   1. Set the **label** to `Data Warning Email`.
   2. Set the **category** to `Marketing`.
   3. Set the **email surface** to `marketingEmailMessages`.
   4. Click on **Edit content** to start designing your email.
      1. Click on :FontAwesome[]{icon="fa-solid fa-user"} to create a subject line. Set it to `You're close to your data limit – here's what you can do 📶`
      2. Click **Save**.
   5. Click on **Edit email body**. Under **Saved templates**, choose `Tesco Mobile - Data Upsell Email Template`. It will show you a preview of the template. Click on **Use this template**.
3. The email designer will now open. It should look like the image below. Click **Save** in the top right.&#x20;

![](https://api.archbee.com/api/optimize/Kr9jNQk3X89PNSZafWHK9-FEFZ6ccbM7eJr-glC_9Op-20250716-210801.png)

### Configuring the email

We had most of the content prebuilt into the email using the template. Now lets customise the email for our journey with some 1:1 personalised messaging.

1. **Double** click on the text **DATA USAGE** to open the personalisation editor.
2. Delete the text **DATA USAGE**.
3. From the left menu, Profile attributes, search for `data usage`
4. You'll see the attribute **Data Usage - Monthly**. Click the **+** icon to add this attribute into the expression editor.
5. After the replace, your screen will look like below. Click **Save&#x20;**&#x74;o save the expression.

![](https://api.archbee.com/api/optimize/Kr9jNQk3X89PNSZafWHK9-eST82cG6PZ4te8s0f8oMF-20250716-211333.png)

:::hint{type="info"}
The personalization editor is the centerpiece of the personalization in Journey Optimizer. It is available in every context where you need to define personalization like emails, push and offers.

In the personalization editor interface, you can select, arrange, customize and validate all the data to create a customized personalization for your content.

In this case, the **Profile Attribute** will be replaced dynamically with the data usage for each customer that receives the email.&#x20;

To find out more information, visit [Adobe Experience League](https://experienceleague.adobe.com/en/docs/journey-optimizer/using/content-management/personalization/personalization-build-expressions).
:::

### Adding Dynamic content

Now let's add some **Dynamic Content** to our Email. We want to personalise the main email banner for our customers, depending on how they use their data.&#x20;

We will create dynamic content for the following personas:&#x20;

- Customers that mostly use their data for social media.
- Customers that mostly use their data for streaming shows.
- Customers that have a family plan.

We want to create a variant for each of our personas:

1. Select the main banner image.
2. From the options that appear above, select **Enable conditional content.&#x20;**&#x54;his will open the conditional content panel on the left.

![](https://api.archbee.com/api/optimize/Kr9jNQk3X89PNSZafWHK9-B0KNjk4uP1kEtwEM9BJ8w-20250716-222857.png)

You'll see 2 content variations, the Default variant and Variant - 1

1. Click **+ Add variant** until you have 3 variants.
2. Click **Variant - 1**, and select the three dots **...&#x20;**&#x61;nd **Rename** the variant to `Data Usage - Social`.
3. Click the Arrow icon next to the three dots **...&#x20;**&#x20;to **Select condition**
4. In the Condition editor, click **+ Create new**
5. Search for `data package preference`, drag the attribute onto the canvas where it says "Start building conditions".
6. Set the condition rule to **Data Package Preference** `equals` `social`.

Your condition should look like:&#x20;

![](https://api.archbee.com/api/optimize/Kr9jNQk3X89PNSZafWHK9-KZKyeCYCJdhLiK6_JOovd-20250716-224729.png)

1. Click **Save Condition&#x20;**&#x61;t the <font color="#EF4444">**bottom**</font> of the window.
2. Give your condition a **Title**, `[Your name] Data preference = Social`
3. Click **Add.**
4. Click **Select** to close the editor.

:::hint{type="warning"}
Reminder! Now is a good time to **Save&#x20;**&#x79;our email (top, right **Save** button).
:::

Repeat the same steps for variants 2 and 3, with the following changes:&#x20;

**Variant - 2:&#x20;**

- Rename the variant to `Data Usage - Streaming`.
- Set the condition rule to **Data Package Preference** `equals` `streaming`.
- Set the Title as `[Your name] Data preference = Streaming`

**Variant - 3:&#x20;**

- Rename the variant to `Data Usage - Family`.
- Set the condition rule to **Data Package Preference** `equals` `family`.
- Set the Title as `[Your name] Data preference = Family`

Your Email Designer should now look like:&#x20;

![](https://api.archbee.com/api/optimize/Kr9jNQk3X89PNSZafWHK9-ff5E-8O29jalzFKkWHZ_c-20250716-230031.png)

We will explore some of the **Generative AI** capabilities in the Email designer to create our banner images.

1. Select the **Data Usage - Social** variant.
2. Select the main banner image.&#x20;
3. From the right-hand menu, under **Firefly**, click **Generate and select an image**.

![](https://api.archbee.com/api/optimize/Kr9jNQk3X89PNSZafWHK9-kXnPfKM3J_aFjWf70wlww-20250716-213504.png)

Here we can input a prompt to generate an image that will resonate with our customer persona.&#x20;

1. Since this is the **Data Usage -** **Social** variant, try a prompt like: `"Person taking a selfie for social media at a music concert"`.&#x20;
2. Click the **Image Settings&#x20;**&#x61;nd set the **height** to `600`, and the **width** to `1200`.
3. Click **Generate.&#x20;**(Feel free to try your own prompts!)

![](https://api.archbee.com/api/optimize/Kr9jNQk3X89PNSZafWHK9-m17mjlxyYCKZN1kbMKa70-20250716-230928.png)

1. Choose your favourite generated variation. Click **Select.&#x20;**
2. You'll be asked to upload your image. Click **Next.**
3. Navigate to the correct folder for this lab: **Hands-on Lab > Tesco Mobile.**
4. Click **Import.**

You'll now see the newly generated image added to your email for your social variant. It should look something like:&#x20;

![](https://api.archbee.com/api/optimize/Kr9jNQk3X89PNSZafWHK9-7wJODOZKqqWvY2IwRNlpE-20250716-231225.png)

Repeat the same steps for variants 2 and 3, with the following changes:&#x20;

**Data Usage - Streaming&#x20;**&#x76;ariant:

- Try a prompt like: `"Person watching a TV show on their mobile phone in landscape mode, whilst commuting on a train"`.
- *Don't forget to adjust the height and width of the image (600x1200).*

**Data Usage - Family&#x20;**&#x76;ariant:

- Try a prompt like: `"A college student calling their parent"`.
- *Don't forget to adjust the height and width of the image (600x1200).*

Final image examples:&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/Kr9jNQk3X89PNSZafWHK9-pU83SDJ34wdRIooDqhsqA-20250716-233227.png" size="80" width="1188" height="696" position="center" showCaption="false"}

::Image[****]{src="https://api.archbee.com/api/optimize/Kr9jNQk3X89PNSZafWHK9-e0DcZHHgnsKSgwjarS8OU-20250716-233327.png" size="80" width="1124" height="690" position="center" showCaption="false"}

1. Click **Save** in the top right.&#x20;
2. Navigate out of the email designer by clicking the back arrow :FontAwesome[]{icon="fa-solid fa-arrow-left"}**&#x20;icon** in the top left. You'll be taken to the messages overview for your journey.
3. Navigate out of the messages overview by clicking the back **\<** **icon** in the top left.
4. You'll return to the Journey canvas. Click **Save** in the Actions: Email panel.

Your journey should now look like:

![](https://api.archbee.com/api/optimize/Kr9jNQk3X89PNSZafWHK9-m-kFykZjDnJaCsKgZQCrI-20250716-203342.png)

:::hint{type="success"}
You've successfully composed a personalised Email Message to be sent to qualifying customers. You've used **Adobe Firefly** to generate images for your email.

Now, let's put everything together and complete our Journey.
:::

