> For the complete documentation index, see [llms.txt](https://docs.spara.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spara.com/guides/installation-guides/email-agent-onboarding.md).

# Email agent onboarding

This page is a guide to getting started with Spara Email agents. For a refresher on how Chat agents work, please see [https://docs.spara.com/agents/agent-overview](https://docs.spara.com/agents/agent-overview "mention") and [https://docs.spara.com/agents/email-agents](https://docs.spara.com/agents/email-agents "mention").

### Step 1: Connect email address

Spara Email agents send emails from an authenticated email address.

* Navigate to the [Email Configuration](https://app.spara.co/organization/email-configuration) page
* Authenticate your email provider, either Gmail or Microsoft Outlook
* Set up the specific email address that Spara will manage
* To verify the connection can send, open the connected account's manage page and use **Send test email**. Spara sends a test message from the connected mailbox to an address you choose — check that inbox to confirm it arrived.

For example...

* ACME authenticates Gmail as their email provider...
* ...and configures Spara to send all emails from `spara@acme.com`

### Step 2: Configure an Email agent

Email agents are designed to *respond* to incoming emails. Define how you'd like Spara to respond to emails by writing out a prompt in the Reply Agent tab.

### Step 3: Build a workflow

Workflows are how Spara's AI knows when to send outgoing emails, among other things. See [https://docs.spara.com/agents/workflows](https://docs.spara.com/agents/workflows "mention") to learn more - use the "Send Email" step!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.spara.com/guides/installation-guides/email-agent-onboarding.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
