# Email Providers

Connect your preferred third-party email providers like Mailgun, Postmark, or SendGrid to send emails directly from your UserFlux. This guide will walk you through adding, configuring, and managing your email provider integrations.

By connecting an email provider, you can centralise your email-sending operations and leverage your existing email infrastructure within UserFlux automations.

***

### Navigating to Email Providers

First, you need to go to the Email Providers management page within your organisation's settings.

1. In the left-hand navigation sidebar, click on the **Account Settings** icon.
2. From the settings menu, select **Email Providers**.

<div align="left"><figure><img src="/files/xAvohfVrPnfKCI2yyCbL" alt="" width="317"><figcaption></figcaption></figure></div>

You will now see the main Email Providers screen, which lists all currently connected providers.

***

### Adding a New Email Provider

You can add multiple provider configurations, including multiple accounts from the same provider (e.g., one for transactional emails and another for marketing).

1. From the Email Providers screen, click the **Add Configuration** button in the top-right corner.
2. An **Email Provider** configuration modal will appear.
3. Fill in the required details based on the provider you are connecting.

> **💡 Tip:** Give each configuration a unique and descriptive **Name** (e.g., "Marketing Mailgun" or "Transactional Postmark") to easily identify it later in your User Flows.

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

#### Supported Providers and Configuration

We currently support the following providers. Select your provider from the dropdown menu and fill in the corresponding fields.

<details>

<summary><strong>Configuring Mailgun</strong></summary>

* **Provider:** Select Mailgun.
* **Name:** A unique name for this configuration.
* **Sender Email:** The email address from which emails will be sent.
* **Reply To Email:** The email address to which replies will be directed.
* **Mailgun Domain:** Your configured sending domain from your Mailgun account.
* **Tracking Settings:**

  * **Tracking Enabled:** Yes or No.
  * **Click Tracking Enabled:** Yes or No.
  * **Open Tracking Enabled:** Yes or No.

  <figure><img src="/files/jJP2ZYdQya2hUi6KicRQ" alt="" width="375"><figcaption></figcaption></figure>

</details>

<details>

<summary><strong>Configuring Postmark</strong></summary>

* **Provider:** Select Postmark.
* **Name:** A unique name for this configuration.
* **Sender Email:** The email address from which emails will be sent.
* **Reply To Email:** The email address to which replies will be directed.
* **Message Stream:** The name of the Message Stream in Postmark you want to use.
* **Tracking Settings:**
  * **Open Tracking Enabled:** Yes or No.
  * **Link Tracking Option:** Choose between HTML and Text, HTML Only, or Text Only.

<figure><img src="/files/F3FuLevqP0Wm2CakXNY6" alt="" width="375"><figcaption></figcaption></figure>

</details>

<details>

<summary><strong>Configuring SendGrid</strong></summary>

* **Provider:** Select SendGrid.
* **Name:** A unique name for this configuration.
* **Sender Email:** The email address from which emails will be sent.
* **Reply To Email:** The email address to which replies will be directed.
* **Tracking Settings:**
  * **Click Tracking Enabled:** Yes or No.
  * **Open Tracking Enabled:** Yes or No.

<figure><img src="/files/DZzis9ihD2iTm1PLnC39" alt="" width="375"><figcaption></figcaption></figure>

</details>

<details>

<summary><strong>Configuring Resend</strong></summary>

* **Name:** A unique name for this configuration.
* **Provider:** Select Resend
* **Sender Email:** The email address from which emails will be sent.
* **Reply To Email:** The email address to which replies will be directed.

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

</details>

Once you have filled in all the details, click **Save**. Your new provider configuration will appear in the list.

***

### Managing Existing Providers

After adding a provider, you can set it as the default for your workspace or delete it.

1. On the Email Providers screen, locate the provider configuration you wish to manage.
2. Click the **three-dots menu (...)** on the right-hand side of the provider's entry.

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

Select an option:

* **Set as default:** This will make the selected provider the default option for all new email actions. The current default is indicated by a **Default** tag.
* **Delete:** This will remove the provider configuration. A confirmation pop-up will appear.

> **⚠️ Warning:** Deleting an email provider configuration that is currently used in an active User Flow will cause that flow to fail. Ensure you update any relevant User Flows before deleting a provider.

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

***

### Using Your Email Provider

Once configured, your email provider can be selected within the **Send Email** action across the UserFlux platform.\
\
For example in the UserFlows you can use the new provider as part of your Send Email action. <br>

1. Navigate to **Automations** > **User Flows**.
2. Create a new User Flow or edit an existing one.
3. Add a **Send Email** action to your flow.
4. In the action's configuration panel, you can now select your provider from the **Email Provider** dropdown menu.

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

This allows you to direct different types of emails through specific providers, giving you complete control over your communication strategy.


---

# 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://userflux.gitbook.io/userflux-docs/feature-guides/user-journeys/email-providers.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.
