## Overview

The Emma integration allows you to send emails from campaigns through your external email account to your customers. This integration connects your Emma email marketing platform with platform campaigns.

## Prerequisites

- An active Emma account
- Plus plan subscription

## How It Works

When configured, the Emma integration enables your campaigns to send emails using templates from your Emma account. Configuration happens in two places:

1. **Connected Apps page** — Connect your Emma account with connection name, public key, and private key on the [Connected Apps](https://app.replify.ai/manage-integrations) page.
2. **Campaign page** — Specify campaign-specific details that tell the campaign which Emma template to use.

## Setup Instructions

### Step 1: Connect Your Emma Account

1. Navigate to the [Connected Apps](https://app.replify.ai/manage-integrations) page in your organization settings.
2. In the **Send from external emails** section, click **\+ Add connection**.
3. Enter your Emma account configuration:
   - **Connection Name** — A descriptive name to differentiate this integration (e.g., “Marketing Team Emma Account”).
   - **Public Key** — Your Emma account username.
   - **Private Key** — Your Emma account password.
4. Save the connection.

### Step 2: Configure Campaign Settings

Once your Emma account is connected, configure each campaign to use specific Emma templates:

1. Navigate to your campaign in the [Campaign Manager](https://app.replify.ai/campaigns).
2. In the campaign settings, find the **Emma Integration** section.
3. Configure the following fields:
   - **Account ID** — Your Emma account ID.
   - **Event Type** — The Event Type ID you want to use for the campaign (configured through Emma).
   - **Send Email** — The ID of the email address you want your campaign to send from (configured through Emma).
   - **Template ID** — The specific Emma template ID to use for this campaign.

These parameters tell the campaign which template from your Emma account to use when sending emails.

## Template Configuration

Each campaign can use a different Emma template, allowing you to customize email content per campaign. Make sure the template IDs you specify exist in your Emma account.

## Troubleshooting

If emails aren’t sending correctly, verify:

- Your Emma credentials are correct on the [Connected Apps](https://app.replify.ai/manage-integrations) page.
- The template ID exists in your Emma account.
- The account ID matches your Emma account.
- Email sending is enabled for the campaign.

For additional help, contact [help@replify.ai](mailto:help@replify.ai).
