Mailgun
- Tier: Free, Premium, Ultimate
- Offering: GitLab Self-Managed
When you use Mailgun to send emails for your GitLab instance and Mailgun integration is enabled and configured in GitLab, you can receive their webhook for tracking delivery failures. To set up the integration, you must:
After completing the integration, Mailgun temporary_failure
and permanent_failure
webhooks are sent to your GitLab instance.
Configure your Mailgun domain
Before you can enable Mailgun in GitLab, set up your own Mailgun endpoints to receive the webhooks.
Using the Mailgun webhook guide:
Add a webhook with the Event type set to Permanent Failure.
Enter the URL of your instance and include the
/-/mailgun/webhooks
path.For example:
https://myinstance.gitlab.com/-/mailgun/webhooks
Add another webhook with the Event type set to Temporary Failure.
Enter the URL of your instance and use the same
/-/mailgun/webhooks
path.
Enable Mailgun integration
After configuring your Mailgun domain for the webhook endpoints, you’re ready to enable the Mailgun integration:
- Sign in to GitLab as an Administrator user.
- On the left sidebar, at the bottom, select Admin.
- On the left sidebar, go to Settings > General and expand the Mailgun section.
- Select the Enable Mailgun checkbox.
- Enter the Mailgun HTTP webhook signing key as described in
the Mailgun documentation and
shown in the API security (
https://app.mailgun.com/app/account/security/api_keys
) section for your Mailgun account. - Select Save changes.
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support