# Email Agents

Spara automates sales interactions over email — both sending automated outreach sequences and replying intelligently to incoming responses. Email agents work alongside your other Spara agents to move leads through your pipeline.

<figure><img src="/files/y6ucqXZVUsud9hGU5jEr" alt=""><figcaption><p>Email agent configuration with cadences, reply agent, and provider settings.</p></figcaption></figure>

Spara does not send cold outbound emails. Email agents are triggered by lead actions (like submitting a webform or engaging in chat) and respond to incoming emails from leads already in your pipeline.

## Email Cadences

Email cadences are automated sequences of emails sent to leads based on trigger conditions. Each cadence consists of one or more steps with configurable delays between them.

### How cadences work

1. A trigger condition is met (e.g., "Lead submitted webform but hasn't scheduled a call")
2. Spara sends the first email in the cadence
3. After a configurable delay (minutes, hours, days, or weeks), the next step sends
4. The sequence continues until all steps are sent or the lead takes a desired action

### Configuring a cadence

Each cadence step includes:

* **Subject line** — Supports variables like `{{ first_name }}` for personalization
* **Email body** — Rich text with variable insertion, AI instructions, and calendar links via the ⚡ Insert Menu. See the [https://docs.spara.com/guides/how-to-use-sparas-text-editor](https://docs.spara.com/guides/how-to-use-sparas-text-editor "mention") for details.
* **Delay** — How long to wait before sending this step (configurable in minutes, hours, days, or weeks)
* **Preview** — Preview the email with sample lead data to see how personalization renders

## Reply Agent

The Reply Agent handles incoming email responses from leads. When a lead replies to a cadence email or writes in directly, the Reply Agent:

* Reads and understands the lead's message
* Responds following your agent's instructions and knowledge base
* Can escalate to a sales rep when the lead is qualified

The Reply Agent uses the same [https://github.com/spara-ai/spara-app/blob/gitbook/gitbook/documentation/agents/agent-overview/agent-editor.md](https://github.com/spara-ai/spara-app/blob/gitbook/gitbook/documentation/agents/agent-overview/agent-editor.md "mention") as Chat agents, with the same prompt structure and testing tools.

### Testing the reply agent

To test how your reply agent responds, open the agent and click **New test**. Select a workflow and a **Send Email step** — Spara renders that email as the first message in the test thread, giving your simulated reply the same context a real lead would have. Type a reply and click **Send Reply** to see how the agent responds.

If no workflows exist yet, the test panel shows a link to create one. The test session persists in the URL (`?testId=...`) so you can refresh and return to the same thread. Click **New test** at any time to start fresh.

## Configuration

The Configuration tab controls your email setup:

### Email Provider

Connect your email provider to send emails from your domain:

* **Gmail** — Connect via Google OAuth
* **Outlook** — Connect via Microsoft OAuth

{% hint style="warning" %}
Only one email provider can be active at a time. Connecting a new provider replaces the existing one.
{% endhint %}

### Daily Send Limits

Control how many emails Spara sends per day: 5, 10, 25, 100, or No Limit. Start with a lower limit and increase as you verify email quality.

### Email Modes

* **Cadence emails** — Toggle automated cadence sequences on or off
* **Reply emails** — Toggle automated replies to incoming emails on or off

Both can be disabled independently. For example, you might want to automate cadence sends but handle replies manually.

## FAQ

### What types of emails does Spara send?

Spara sends two types: cadence emails (automated sequences triggered by lead actions) and reply emails (responses to incoming messages). Spara does not send cold outbound emails to leads who haven't interacted with your brand.

### Can I personalize emails with lead data?

Yes. Use the ⚡ Insert Menu in any email text field to insert variables like `{{ first_name }}`, `{{ company_name }}`, or any field from the [Data Model](/platform/data-model.md). You can also insert AI instructions that tell the agent to dynamically personalize sections of the email.

### How do cadences interact with workflows?

[Workflows](/agents/workflows.md) Send Email steps and email cadences are separate features. Cadences are configured on the Email agents page and have their own trigger conditions. Workflow Send Email steps are individual emails within a workflow sequence. Both can reference the same lead data and both respect the lead's email preferences.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.spara.com/agents/email-agents.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
