> For the complete documentation index, see [llms.txt](https://docs.absolutelabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.absolutelabs.io/features/flows/channels/e-mail.md).

# E-mail

> Note: You will need to upload your e-mail/wallet pairs before the flow can be functional. Please reach out to your Customer Success manager to assist with that process.

## Enablement

> Note: Steps 1 & 2 are available only for customer team admins.

> Pre-requisites: To send emails using flow, you need to set up a SendGrid account. Read more about how to do that [here](/use-cases/sendgrid.md).

1. Navigate to the **My team settings** by selecting **Settings** in the top-right corner.
2. Add a SendGrid API key in the **Email** section.
3. Add a Sender E-mail. For better delivery, use an email verified on your SendGrid account. \
   You can also pass a **custom sender name** by using the following format in the field:\
   &#x20;`Your Name <some@email.com>`\
   \
   ![](/files/gtELtHJplLTdYPJ7FkOH)
4. Go to the **Flows** module.
5. Drag and drop the E-mail block and click on the ‘Edit’ button.
6. Choose the template and fill in the value of variables where necessary.&#x20;
7. **Important -** To handle unsubscribe links, you have 2 options:
   1. Use an **Unsubscribe group ID** from your [Unsubscribe Groups in SendGrid](https://mc.sendgrid.com/unsubscribe-groups). Copy the numerical group ID into the value field for the 'unsubscribe'  variable. Your template's unsubscribe block will automatically generate unique unsubscribe links for each email recipient
   2. Use custom Unsubscribe URLs: you can type them into the unsubscribe and unsubscribe preferences fields.
8. Save the block.


---

# 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.absolutelabs.io/features/flows/channels/e-mail.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.
