# Set Email Opt-in & Opt-Out

### Setting Email Opt-ins <a href="#setting-email-opt-ins" id="setting-email-opt-ins"></a>

This feature allows you to send emails to users. Action must be placed before an email node.

<figure><img src="/files/m4OyXEjIwH1GFRH2ncGY" alt=""><figcaption></figcaption></figure>

### Setting Email Opt-outs <a href="#setting-email-opt-outs" id="setting-email-opt-outs"></a>

This feature is useful when you want to prevent a user from receiving an email. This is very good when you do email blasts.

<figure><img src="/files/ALon5ufTxsepDHIhJ49M" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
The email or SMS will not send out if the user isn’t opt-on for SMS & Email.
{% endhint %}

### Bulk Actions <a href="#bulk-actions" id="bulk-actions"></a>

To configure Email Opt-in or Opt-out for users in bulk, follow these steps:

1. Navigate to **Bot -> Bot Users**.
2. Select the user(s) by checking the box next to their name.
3. Click on **Bulk Action** in the upper right corner.
4. Choose **Set Email Opt-In** or **Set Email Opt-Out** as needed.

<figure><img src="/files/H77HafJZps5fYjWIYQZ9" alt=""><figcaption></figcaption></figure>

This action ensures that the user is either subscribed or unsubscribed to receive email communications. If the user is not opted in, the system will not send emails to them.


---

# 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.rapidbott.com/help-center/flow-builder/steps/set-email-opt-in-and-opt-out.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.
