---
title: Email Optimization agent
slug: agent-platform/docs/email-optimization-agent
docTags: 
createdAt: 2026-08-12T15:37:09.000Z
---

**Email Optimization** is an agent in Agent Platform. It analyzes newsletter content in Optimizely Campaign and delivers structured feedback with recommendations for improvement.

- **Challenge** – Identifying specific areas for improvement, ensuring brand consistency, and generating data-driven A/B testing ideas is difficult. This leads to suboptimal campaign performance.
- **Agent outcome** – The agent reviews readability, engagement, visual appeal, and brand consistency. It then delivers a structured report with optimization tips, A/B testing suggestions, and a Content Score.
- **Value** – Actionable, expert-level analysis in minutes, so campaigns improve without manual auditing.

## Required Optimizely products

Optimizely Campaign

## Install agent

:::hint{type="info"}
**Note**

**Mark Administrators**, **Agent Builders**, and users with the **Add, edit, and install specialized agents** attribute for a custom role can add agents to their organization's Mark instance. See [Add users and set permissions.](../../get-started/get-started-with-optimizely-opal-for-administrators.mdx)
:::

Install the agent from the **Directory**.

1. Go to **Directory > Agents**.
2. (Optional) Begin entering *Email Optimization* or use the drop-down list filters to narrow the list.
3. Click **Install** on **Email Optimization** to add it to your Mark instance.

   ![Email Optimization agent](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/3goaGHXlxJroYLyetbgGh-20260720-145009.png)

:::hint{type="info"}
**Note**

If **Install** is disabled, ensure you have the [Required Optimizely products](docId\:aaoMWiCCW-TWVvs4ipUl7) connected to your Mark instance.
:::

## Use the agent

In [Mark chat](docId\:dtNBEttEGVvkhNkwNypLM), enter *@email\_optimization* and optionally provide the following details:

- (Optional) `campaignId` – ID of a Smart Campaign.
- (Optional) `campaignName` – Name of a Smart Campaign.
- (Optional) `mailingId` – ID of a message belonging to a Smart Campaign.
- (Optional) `website_url` – Online version URL of a Smart Campaign.

:::hint{type="info"}
**Note**

Identify the email in one of two ways. Provide a `campaignId` or `campaignName`, and the agent retrieves the mailing automatically. Or provide a `website_url` for the online version.
:::

The agent delivers a structured feedback report. The report covers optimization tips, brand consistency, A/B testing suggestions, a Content Score, and a Preview Text check.

To use the **Email Optimization** agent in a [workflow agent](docId:2HD0fUsIsfdek516VtN9l), drag and drop it into your workflow. See the [Create a workflow agent](docId\:KWaI2TBwD38sN7p74exoy).

## Details

These are the default details of the **Email Optimization** agent. After you [install the agent in your Mark instance](docId\:aaoMWiCCW-TWVvs4ipUl7), customize these details for your organization's needs. See [Manage agents](docId\:SSeNiblVMXwVvDR_lhtvI) for instructions.

### Input variables

The **Email Optimization** agent takes the following input:

- (Optional) `campaignId`
- (Optional) `campaignName`
- (Optional) `mailingId`
- (Optional) `website_url`

### Tools

The **Email Optimization** agent uses the following tools internally to process your request:

- `browse_web`
- `browse_web_html`
- `campaign_get_smart_campaign`
- `campaign_get_smart_campaign_list`
- `campaign_get_smart_campaign_message_content`
- `campaign_get_smart_campaign_messages`

### Additional details

The agent uses the following default configuration:

- **Inference level** – Balanced. Provides reliable answers with additional reasoning.
- **Files** – None.
- **Output** – Text.

:::hint{type="info"}
**Note**

If you use Opti ID, administrators can turn off generative AI in the Opti ID Admin Center. See [Turn generative AI off across Optimizely applications](docId\:X5U0kKD2azV5cIdNqwGNj).
:::
