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 permanent invite email failures. To set up the integration, you must:
After completing the integration, Mailgun
permanent_failure webhooks are sent to your GitLab instance.
Before you can enable Mailgun in GitLab, set up your own Mailgun permanent failure endpoint to receive the webhooks.
Using the Mailgun webhook guide:
- Add a webhook with the Event type set to Permanent Failure.
- Fill in the URL of your instance and include the
After configuring your Mailgun domain for the permanent failures endpoint, you’re ready to enable the Mailgun integration:
- Sign in to GitLab as an Administrator user.
- On the top bar, select Menu > Admin.
- On the left sidebar, go to Settings > General and expand the Mailgun section.
- Select the Enable Mailgun check box.
- Enter the Mailgun HTTP webhook signing key as described in the Mailgun documentation and shown in the API security section for your Mailgun account.
- Select Save changes.