Mailgun integration allows you to send emails through this provider using Bloomreach Engagement’s standard emailing mechanism.

Setup process

  1. Create a new Mailgun account. You can also use an existing Mailgun account, although we recommend to set up an account dedicated to Bloomreach Engagement. The reason is that once fully configured, Mailgun will send webhooks (with status updates) to Bloomreach Engagement for every email sent via the used account - which may have implications for both privacy and performance.

  2. Verify your account

  3. Add New Domain and follow Mailgun steps in order to verify your domain and DNS. This step is very important in order to execute full functioning of integration. Since this step is rather technical and you will need permissions for your domain registration, consult this with your technical staff if you are not sure what to do. Please be aware that it may take some time (usually up to an hour, but could potentially be much longer) for Mailgun to fully verify the DNS records.

  4. In Mailgun copy domain name and API key from Settings → API Keys.

  1. In Bloomreach Engagement, go to Data and Assets > Integrations > Add new integration and select Mailgun. Enter copied Domain name and API key.


Technical warning about re-using mail API key.

Bloomreach Engagement allows you to use the same mail API key in different integrations even in different projects. However, this practice is not recommended, because all integrations with the same API key will share just one mail provider webhook for tracking delivered campaign events.

Deleting any of these integrations with a shared API key will result in deletion of the webhook and therefore none of the given projects will have tracking of delivered campaign events.

  1. If you do not select "Handle webhooks automatically", please copy given tracking hook URL.

To Mailgun: Webhooks → edit URL. Put the same URL in all of given fields.

You can now use Bloomreach Engagement campaigns to send signed emails from your own domains using Mailgun.

For more information on webhook notification documentation and naming, follow this link:


After Integrating with Mailgun, you can look at Default email settings in order to change it to your default email integration.

Did this page help you?