## Description

The Email Notification Node allows you to send quick and easy emails during sessions or for in-house communications without requiring any provider settings to be set up in the UI. Instead, you can configure the necessary provider settings in the environment variables and secrets. Only one provider can be set up at a time.

## Restrictions

- Your SMTP Server settings need to be adjusted to use the internal Cognigy Email notification.
- Email attachments are restricted (for example, files, images). If required, use [Send SMTP Email Node](https://docs.cognigy.com/ai/agents/develop/node-reference/data/send-smtp-email).

## Authentication

This Node supports both Basic Auth and OAuth2 authentication methods. If you have an on-premises installation, you need to add the following parameters to the `values.yaml` file:

- OAuth2 (recommended)
- Basic Auth

### OAuth2 Example
```yaml
smtpEmailNotificationCredentials:
  authType: "oauth2"
  oauth2:
    user: "<smtp-server>@domain.com"
    clientId: "your client id"
    clientSecret: "your client secret"
    refreshToken: "your refresh token"
    accessToken: "your access token"
```

### Basic Auth Example
```yaml
smtpEmailNotificationCredentials:
  authType: "basic"
  basic:
    username: "<your email client's username>"
    password: "<your email client's password>"
```

## Parameters

| Parameter               | Description                                                                       |
|-------------------------|-----------------------------------------------------------------------------------|
| Email Sender Name       | The name displayed as the sender of the email.                                   |
| Recipient               | Comma-separated list of email addresses to send the email to.                    |
| Subject                 | The subject of the email.                                                         |
| Content                 | The content of the email. The field supports basic rich text editing.            |
|                         |                                                                                   |

### Store location of SMTP Request result

| Option                  | Description                                                                       |
|-------------------------|-----------------------------------------------------------------------------------|
| Don’t store result      | Default option. The result isn’t stored.                                          |
| Input                   | The result is stored at a specified location in the **Input Key to store Result** field. |
| Context                 | The result is stored at a specified location in the **Context Key to store Result** field. |

#### Stop on Error

If switched on, the Flow execution will halt in case the mail-sending fails.

### Advanced

| Parameter               | Description                                                                       |
|-------------------------|-----------------------------------------------------------------------------------|
| CC Email Addresses      | The CC recipients of your email.                                                  |
| BCC Email Addresses     | The BCC recipients of your email.                                                 |
| Email Priority          | The priority of the email.                                                        |
| Execute Request asynchronous | If switched on, the Flow execution continues directly after the Send Email Node has been triggered. If turned off, the Flow execution waits until the email is sent.

Last modified on June 15, 2026
