---
title: Marketing Email
slug: reports/marketing-email
description: Send marketing emails with embedded reports and documents using Unaric Reports automation.
docTags: 
createdAt: 2026-01-30T04:17:02.424Z
---

Unaric Reports allows you to send marketing emails to lists of recipients determined by a report. This example loosely follows what we do for our Unaric Reports release emails.

::::::WorkflowBlock
:::WorkflowBlockItem
## Report Setup

Before creating the marketing email solution, you have to set up a report in Salesforce that lists out **Contacts&#x20;**&#x74;hat have not yet received the new release email and have not opted out of receiving marketing messages.

::Image[]{src="https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/gCvJPqQiHjitTDea6sKyy_marketing-email-schedule-example-burst-report-example.png" size="42" width="458" height="221" position="center" darkWidth="458" darkHeight="221" showCaption="false"}
:::

:::::WorkflowBlockItem
## Email template setup

Next we need to create an email template for the marketing email. Note we want to use the fields from the Burst report as variables for our email, so we will run the report and look at the Report Variables. We are going to use the First Name variable in a couple of places.

![](https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/Iv4WhcYIFyhVsYJ3884c__marketing-email-schedule-example-run-report-variables.png)

We also want to include a link to view the email as a web page and an unsubscribe link. To do this, we add the following variables to our HTML template: **&#x7B;&#x7B;WEB\_LINK\_URL}}**.

::::VerticalSplit{layout="middle"}
:::VerticalSplitItem
![](https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/JkBfqbu00-Ps3C4AVZf2y_marketing-email-schedule-example-email-template-weblink-1.png)
:::

:::VerticalSplitItem
![](https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/YOug4U5YWf58jgifPXiLC_marketing-email-schedule-example-email-template-weblink-2.png)
:::
::::

::::VerticalSplit{layout="middle"}
:::VerticalSplitItem


![](https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/3t7DhUr1d499M0fJU7PkR_marketing-email-schedule-example-email-template-unsubscribe-1.png)
:::

:::VerticalSplitItem


![](https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/KRoppiG5nOwglW9EDp4hz_marketing-email-schedule-example-email-template-unsubscribe-2.png)
:::
::::
:::::

::::WorkflowBlockItem
## Solution Creation

1. In Unaric Reports, navigate to th&#x65;**&#x20;Solutions** tab and click the **Add** button.

::Image[]{src="https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/vN58AHNPvYpbb3TFvwWGC_simple-burst-schedule-add.png" size="70" width="1100" height="145" position="center" darkWidth="1100" darkHeight="145" showCaption="false"}

2. Provide a name for the solution and keep the default for **Running User.**

::Image[]{src="https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/6p8uhco63FjhYmFBfjfOq_marketing-email-schedule-example-general-info.png" size="62" width="875" height="182" position="center" darkWidth="875" darkHeight="182" showCaption="false"}

3. Clic&#x6B;**&#x20;Next**.
4. On the **Items&#x20;**&#x73;tep, click *Yes&#x20;*&#x75;nder **Do you want to add items?**, select *Report*, and click th&#x65;**&#x20;Next** button.

![](https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/zExIGcA-ZUhc9Wsd8hpXv_marketing-email-schedule-example-more-items.png)

5. Select the report you created earlier.
6. Set *Burst* as the report type.
7. For the **Burst Filter Value Field,&#x20;**&#x73;elect to **Contact ID**.

:::hint{type="info"}
Usually with a Burst report, you set the **Burst Filter Value Field** so that you can filter any other reports on the Solution. But since this is for marketing emails and the Burst report is the only report we will include in this Solution, technically this field shouldn't be required. Still, if you want to use a Direct Link with this Solution (which allows you to include a button in Salesforce to open a Solution), you need this field.
:::

8. Choos&#x65;*&#x20;Email* for th&#x65;**&#x20;Name Value Field**. This will help review activity after running the Solution.

::Image[]{src="https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/3HmCTTq3INF1OKggIyBJ2_marketing-email-schedule-example-items.png" size="62" width="1025" height="275" position="center" darkWidth="1025" darkHeight="275" showCaption="false"}

9. On th&#x65;**&#x20;Send** step, select *Email* as delivery option and click th&#x65;**&#x20;Next** button.

![](https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/GvkyF5UBu2CgMzUdrbG2m_burst-scenario-send-options-help.png)

10. On the **Email** step, set the **To Fields** to the Email field from you&#x72;*&#x20;Burst* report. For the email body, pick the Email Template previously created.

::Image[]{src="https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/hqebwAXrLC9zQYCnxx9MG_marketing-email-schedule-example-email.png" size="62" width="974" height="591" position="center" showCaption="false"}

11. On the **Schedule** step, uncheck the **Schedule** checkbox, since you only want to run this Solution once. Clic&#x6B;**&#x20;Next**.

![](https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/ZUj9VgAtJPjP03Q7a9nz4_marketing-email-schedule-example-schedule.png)

12. In the **Options&#x20;**&#x73;tep, configure **Salesforce Updates** to mark each Contact once the email is sent. This prevents duplicate sends, as your report is filtered to only include Contacts who haven't yet received the update. Additionally, configure the **Unsubscribe Setup** to automatically check the **HasOptedOutOfEmail&#x20;**&#x66;ield on the Contact record. Under **Salesforce Updates**, se&#x74;**:**
    - **Object to Update**: *Contact*
    - **Field to Update**: *New\_Release\_Email\_Sent\_\_c*
    - **Update Value**:*&#x20;True*
    - **Don't Update if Report is Empty**:*&#x20;Unchecked*
    - **Save as Activity**: *Checked*
    - **Save as Attachment**: *Unchecked*
13. Under **Unsubscribe Setup**, set:
    - **Object to Update**: *Contact*&#x20;
    - **Field to Update:** *HasOptedOutOfEmail*
    - **Update Value**: *True*
    - **Email Field Api Name**: *Email*

![](https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/nYnIjcKQTCUHNNHnLSk5A_marketing-email-schedule-example-options.png)
::::

:::WorkflowBlockItem
## Solution preview

Now that the Solution has been created, click **Preview** to see one of the personalised emails and check everything is correct.

![](https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/-1ohGg1A6sUyikDw0DGxz_marketing-email-schedule-example-preview-hint.png)

In this example, the `{{FIRST_NAME}}` variable added to the subject and body now has the first name of the contact in its place.

::Image[]{src="https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/gtAjPeQ4SA5KEgNnqMFIq_marketing-email-schedule-example-preview-help.png" size="64" width="1050" height="531" position="center" showCaption="false"}
:::

:::WorkflowBlockItem
## Solution run

1. On the Solution's page, click **Run**.

::Image[]{src="https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/gkVGV99255rv-2X1nH_Am_marketing-email-schedule-example-run-now-hint.png" size="58" width="1100" height="308" position="center" showCaption="false"}

2. Once the Solution has run, scroll down to the bottom of the Solution details page and click the **See All&#x20;**&#x62;utton on the **Recent Activity** section. Here you can review the Activity to see if there were any issues.

::Image[]{src="https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/EwayXoHrCpvWrM8pHlRoo_marketing-email-schedule-example-activity-hint.png" size="64" width="1050" height="269" position="center" showCaption="false"}

In this example, you can see that the Solution attempted to send to everyone on the *Burst* report. The green checkbox means that the email was successfully delivered. The red circle means there was a problem. In this example, the Solution partially failed because the second email that the Solution tried to send to does not exist. Also, note that each filter record shows the email address and the contact ID.

![](https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/lKd79gB5DvsqEfLAKbyXJ_marketing-email-schedule-example-activity-page.png)
:::

:::WorkflowBlockItem
## Activity stats

Click **View Emails Stats** for detailed information about the deliverability (email opened, dropped, unsubscribed, etc.).

![](https://api.archbee.com/api/optimize/10Nod6Ww95R3dPr0k0TCJ/1-anRvXk8zo3XcH4sx6pi_marketing-email-schedule-example-activity-stats.png)
:::
::::::



