Skip to main content

Configure an Email Provider

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Magic links, user invitations, password recovery links, and other emails from your flows reach users through an email provider. An email provider is a connection that tells Choreo Identity & Access Management which service delivers your email and how to reach it.

Each Send Email step in a flow picks the provider it sends through, so you can run several providers side by side, such as one for customers and one for staff. A flow cannot send email until its email steps name a provider. Separately, one provider can be the default email sender, which sends system-generated emails such as account lock notifications. Flow steps never fall back to the default sender.

Choreo Identity & Access Management delivers email over SMTP, so you can use any service that accepts SMTP, such as Gmail, Amazon SES, SendGrid, or your own mail server.

Prerequisites​

  • You can sign in to the Choreo Identity & Access Management Console.
  • An account with an email delivery service, plus its credentials if the service requires authentication.

Create an SMTP Provider​

  1. Sign in to the Choreo Identity & Access Management Console, switch to the organization view, and go to Connections.

  2. Click the Add custom connection card.

  3. If your organization has more than one organization unit, select the one that will own the provider, then click Continue. You cannot change it later. See Organization Unit Ownership.

  4. On the Connection type step, click Email provider (SMTP).

  5. Enter a Connection name, such as Corp SMTP, then click Continue.

  6. Enter the server details:

    FieldRequiredDescription
    HostYesHostname of the SMTP server, such as smtp.example.com.
    PortYesPort of the SMTP server, from 1 to 65535. Defaults to 587. Choosing STARTTLS or Implicit TLS (SMTPS) under Transport security sets it to 587 or 465, unless you entered a different port.
    From addressYesAddress recipients see the email come from. It is also the SMTP envelope sender. Must be a valid email address.
    Sender nameNoName shown beside the address, so a recipient sees Acme Support <[email protected]>. Leave it blank to show the address alone. Must not contain a line break.
    Transport securityYesHow the connection to the SMTP server is secured: STARTTLS, Implicit TLS (SMTPS), or None. Defaults to STARTTLS. See Transport Security.
  7. Under Authentication, select the Authentication method and enter its credentials. See Authentication.

  8. Click Create connection.

The Console opens the new provider's page. If this is your first email provider, the Console also makes it the default email sender, as long as you are allowed to change server configuration and the deployment configuration does not fix the default.

Next, select the provider on each email step of the flows that send email.

Mail always leaves with the From address as the envelope sender, even when you set a Sender name. Most relays accept mail only from an address or domain you have verified with them, so use a verified identity here.

Transport Security​

Transport security controls how Choreo Identity & Access Management secures its connection to the SMTP server:

OptionBehavior
STARTTLSDefault. Connects over plain TCP, then upgrades to TLS with the STARTTLS command. If the server does not offer STARTTLS, the send fails instead of falling back to plaintext. Typically port 587.
Implicit TLS (SMTPS)Opens a TLS connection directly. Typically port 465.
NoneSends in plaintext. Use it only for a relay on a network you trust.

Both TLS options require TLS 1.2 or later and check the server certificate against Host.

Choreo Identity & Access Management opens a fresh SMTP connection for every email. It waits up to 30 seconds to connect, and up to 60 seconds for the whole exchange to finish.

Authentication​

The Authentication method tells Choreo Identity & Access Management how to sign in to the SMTP server:

MethodFieldsBehavior
NoneNoneSends no credentials.
Username and PasswordUsername, Password (both required)Authenticates with SMTP PLAIN using the username and password.

Credentials must never travel in plaintext, so you cannot combine Transport security set to None with Username and Password. Choose STARTTLS or Implicit TLS (SMTPS), or set the method to None.

Choreo Identity & Access Management encrypts the password at rest and never shows it again. To change it, see Update an Email Provider.

View Email Providers​

  1. Switch to the organization view and go to Connections.
  2. Click the Email category filter to narrow the list to email providers. Each provider appears as a card with its connection name, and the default email sender carries a Default badge.
  3. Click a card to open the provider.

On the provider's General tab:

  • Quick copy shows the Connection ID.
  • The Organization unit card shows the Handle and ID of the organization unit that owns the provider.
  • Connection configuration shows the server details, and Authentication shows the authentication method and username. The password stays masked.

Update an Email Provider​

  1. Open the provider from the Connections page.
  2. On the General tab, edit the fields under Connection configuration, or the method and credentials under Authentication.
  3. The stored Password is write-only: the field stays locked until you click Update. Leave it unchanged to keep the stored password.
  4. Click Save changes in the bar at the bottom of the page. You can click Reset instead to abandon your edits.

The stored password stays tied to the server and account it was entered for. If you change Host, Port, or Username, the Console asks you to enter the password again before you can save. Changing the authentication method, or setting it to None, discards the stored credentials.

Delete an Email Provider​

  1. Open the provider from the Connections page.
  2. Open the Advanced tab.
  3. Under Danger zone, click Delete connection.
  4. Click Delete in the dialog to confirm.

You cannot delete a provider while a flow sends email through it. The dialog lists those flows and blocks the deletion until you select another provider on their email steps. If the provider is the default email sender, system-generated emails are not sent until you set another provider as the default.

Organization Unit Ownership​

Every email provider belongs to exactly one organization unit. You choose it when you create the provider, and it cannot change afterwards. To move a provider to another organization unit, delete it and create it again.

An organization unit that still owns a provider cannot be deleted.

To see how this applies to every kind of connection, see Organization Unit Ownership.

Deploy your changes

Saving a change does not make it live. You author in the control plane, and your users sign in on a separate data plane, so a change takes effect in an environment only after you deploy it. Go to Deploy, deploy the latest version to your first environment, then promote it to the next environment when you are ready.

Auto-sync deploys saved changes to your first environment within seconds. Turning it on is your choice, per project. See Deploy a Version, or learn why you deploy and how auto-sync works.

Select the Provider on an Email Step​

Each Send Email step sends through the provider selected in its Email provider field. Select your provider on every email step:

  1. Navigate to Flows and open the flow.
  2. Click the Send Email node to open its properties.
  3. Under Email provider, select your provider.
  4. Under Email template, select the template the step sends.
  5. Click Save.

When you open a flow, or add a Send Email step to it, the Console fills an empty Email provider with the first email provider it finds. Check that it is the one you want before you save. If no email provider exists yet, the field is disabled until you create one. The flow designer marks a Send Email step without a provider as an error.

If a step still has no provider when the flow runs, it fails with Email provider is not configured (FET-1038). If the SMTP server is unreachable, rejects the credentials, or does not offer STARTTLS when Transport security is STARTTLS, the flow fails with a server error.

For the full executor reference, see Send Email.

Set the Default Email Sender​

The default email sender delivers system-generated emails that no flow sends, such as account lock notifications. To make a provider the default:

  1. Open the provider from the Connections page.
  2. Click Set as default next to the provider's name.
  3. Click Set as default in the dialog to confirm.

Set as default appears only if you are allowed to change server configuration. When the deployment configuration fixes the default email sender, the button is disabled.

Next Steps​

Was this page helpful?