# 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="https://2144409983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHbDmB8MlZRo4hzrDiO0X%2Fuploads%2FCoWf04vQpCuv8BWEJycL%2FUntitled.png?alt=media&#x26;token=ef8da4f9-f703-4f51-883e-72642ce4fb50" 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="https://2144409983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHbDmB8MlZRo4hzrDiO0X%2Fuploads%2FtCHyhuW6Kbibw7oiWigd%2FUntitled.png?alt=media&#x26;token=9075c99c-e6b4-4fd6-aab7-e9ef530ccacf" 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="https://2144409983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHbDmB8MlZRo4hzrDiO0X%2Fuploads%2Fou5a4oPz89RQOXFQmFhe%2FUntitled.png?alt=media&#x26;token=41c9a79a-2054-4e0f-aa42-0a5ca079d767" 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.
