# Send an Email

### When should you use it?&#x20;

* When the lead is generated&#x20;
* When the visitor has entered their details
* When a conversation has been completed&#x20;
* When a conversation has reached a particular point

### How do I set it up?&#x20;

To set the 'Send Email' action block, you can follow the following steps;&#x20;

* Add action block on canvas by clicking on '+' <br>
* Choose 'Send an Email' <br>
* Configure the following on the right panel<br>
  * **Send an email to:** \
    \
    Define the email IDs of the users who need to be notified via email<br>
    1. **To:** <br>
    2. **CC:** <br>
    3. **BCC:** <br>
  * **Subject:** \
    \
    Define the subject of the email <br>
  * **Email Markup:** \
    \
    Define the content of the email<br>
  * **Include Chat Transcript:** \
    \
    You can switch on 'Include Chat Transcript' if you would like to receive the entire chat transcript over email


---

# 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.swiftsell.biz/bot-builder/action-block/send-an-email.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.
