# Custom Email Provider trigger

**URL:** <https://community.auth0.com/t/custom-email-provider-trigger/193260>\
**Category:** Get Help\
**Tags:** email-providers, free-trial\
**Created:** [October 16, 2025, 2:53pm UTC](https://community.auth0.com/t/custom-email-provider-trigger/193260 "2025-10-16T14:53:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![vladkh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vladkh/32/72372_2.png) [@vladkh](https://community.auth0.com/u/vladkh)\
**Post date:** [October 16, 2025, 2:53pm UTC](https://community.auth0.com/t/custom-email-provider-trigger/193260/1 "2025-10-16T14:53:33Z")

</div>

Hello community. I’m a newbie with Auth0. I use Free edition for this time. 22 day trial period ended. Every thing I do I do it for my first time. Sometime I would like to go back from where I started but I cannot.

My question is about Custom Email Provider trigger. Before I implemented SMTP server I deployed Custom Email Provider. I would like to delete it (or undeployed) it. So I am back from where I started.

Every time I try to delete Custom Email Provider from the library it says: **Error!** Unable to delete an action bound to a trigger.

Where I am able to find the trigger “Custom Email Provider” and un deploy Custom Email Provider from there.

I appreciate assistance or reference where to read about it.

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [October 16, 2025, 5:53pm UTC](https://community.auth0.com/t/custom-email-provider-trigger/193260/3 "2025-10-16T17:53:32Z")

</div>

Hi @vladkh

Welcome to the Auth0 Community!

We are glad to have you and hope that Auth0 will serve as a great tool for you! The error that you encounter, of an Action being bound to a [Trigger](https://auth0.com/docs/customize/actions/explore-triggers), means that the Action that you are trying to delete is active/deployed in your current Action Flow.

Attaching the following as an example of an Action, a full list of them can be found in your tenant under Actions → Library. You can see next to the name of the action ( **Error Massage** in this case ) the Trigger in which it is being used ( Login/Post Login in this case). Assume we cannot delete this Action - to solve it, we need to open the Post-Login Trigger and remove the Action from the flow.

 ![Screenshot 2025-10-16 at 20.38.12](https://global.discourse-cdn.com/auth0/original/3X/9/9/9970f5738b076933265ae04b979cbc08d4796f38.png)

Navigate to Actions → Triggers → post-login. Here you will find the **post-login flow** where you have all the Active Actions. You will need to click on the trigger → remove ( bottom right ) → click Apply. After this, you can go back to the Library, search for the Action and complete it’s deletion.

 ![Screenshot 2025-10-16 at 20.42.05](https://global.discourse-cdn.com/auth0/original/3X/9/4/943e9f30f7f5c93112b123fa43b75b1bcce0fa94.png)

Allow me to share some useful documentations that should help you get a better grasp of Actions :

- [Auth0 Actions](https://auth0.com/docs/customize/actions)
- [Explore Triggers](https://auth0.com/docs/customize/actions/explore-triggers)
- [Action Coding Guidelines](https://auth0.com/docs/customize/actions/action-coding-guidelines)
- [Auth0 Support Center](https://support.auth0.com/center/s/) - I highly recommend searching through our Support center for any matter, as you can take advantage of our AI - generated answers, Knowledge Articles and Community Topics, all in one place

Hope this helps and please do not hesitate to reach out to us for any other issues or questions! Keep exploring! 🚀

Have a great one,  
Gerald

---

<div class="post-metadata">

**Author:** ![vladkh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vladkh/32/72372_2.png) [@vladkh](https://community.auth0.com/u/vladkh)\
**Post date:** [October 16, 2025, 6:13pm UTC](https://community.auth0.com/t/custom-email-provider-trigger/193260/4 "2025-10-16T18:13:23Z")

</div>

Thank you very much Gerald.

Here are Actions from my Library

 ![image](https://global.discourse-cdn.com/auth0/original/3X/b/9/b9132e935388653a583b5a7e2d45441659374830.png)

I cannot find the Trigger named Custom Email Provider. That is the core of my question.

I’m trying to rid off Custom Email Provider action. I’m not able.

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [October 16, 2025, 7:36pm UTC](https://community.auth0.com/t/custom-email-provider-trigger/193260/5 "2025-10-16T19:36:18Z")

</div>

Hi @vladkh

I see what you mean and how this not intuitive, allow me to outline the steps:

- [disable your Custom Email provider](https://auth0.com/docs/customize/email/configure-a-custom-email-provider#remove-the-action:~:text=.-,Remove%20the%20Action,-If%20you%20want) under Branding;
- access the [Delete Provider](https://auth0.com/docs/api/management/v2/emails/delete-provider) endpoint on the Management API, then set the API token to authorize the application and run " Test Endpoint";
- once your receive a 204 response, go back to your tenant in Actions → Library, locate your Custom Email Provider Action and try deleting it again.

I’ve tested this a couple of times and it seems to be the way of fully removing a Custom Email Provider Action from your Library.

Let me know if this worked for you!

Best regards,  
Gerald

---

<div class="post-metadata">

**Author:** ![vladkh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vladkh/32/72372_2.png) [@vladkh](https://community.auth0.com/u/vladkh)\
**Post date:** [October 17, 2025, 6:17pm UTC](https://community.auth0.com/t/custom-email-provider-trigger/193260/6 "2025-10-17T18:17:10Z")

</div>

Thank you Gerald,

I needed to study some theory, be familiar with terminology etc.

Finally I tried to access Delete Provider endpoint and had issues with setting up the API token to authorize the applicaiton.

I use Free edition.

Is that authorization available only in Enterprize edition?

Thank you

VK.

---

<div class="post-metadata">

**Author:** ![vladkh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vladkh/32/72372_2.png) [@vladkh](https://community.auth0.com/u/vladkh)\
**Post date:** [October 20, 2025, 8:35pm UTC](https://community.auth0.com/t/custom-email-provider-trigger/193260/7 "2025-10-20T20:35:07Z")

</div>

Thank you Gerald for giving a direction how to solve the issue.

- List all triggers - [Get Triggers](https://auth0.com/docs/api/management/v2/actions/get-triggers)

- Find Custom Email Provider id

- 

- [Get Trigger Binding](https://auth0.com/docs/api/management/v2/actions/get-bindings) for reference to confirm it has an action bound to it

- 

- [Update trigger binding](https://auth0.com/docs/api/management/v2/actions/patch-bindings) and add the body to “custom-email-provider” like below

- 

- Click “Test Endpoint”

- Have a response: 200 - the bindings were updated

- At this poing there are two ways to delete Action

- 
  1. [Delete an Action with Management API](https://auth0.com/docs/api/management/v2/actions/delete-action) OR
  2. Open Actions → Library → Click three dots on the right side of Custom Emai Provider → Delete

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [October 21, 2025, 5:51pm UTC](https://community.auth0.com/t/custom-email-provider-trigger/193260/8 "2025-10-21T17:51:09Z")

</div>

Hi @vladkh

I’m glad that I was able to help you out with this issue and thank you for sharing a more detailed view with the Community!

Have a great one!  
Gerald

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 4, 2025, 5:51pm UTC](https://community.auth0.com/t/custom-email-provider-trigger/193260/9 "2025-11-04T17:51:11Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
