# 删除用户 - 如果他们重新加入则发送通知

**URL:** https://meta.discourse.org/t/deleting-user-notification-if-they-re-join/116464
**Category:** Support
**Created:** [2019年四月30日 17:41 UTC](https://meta.discourse.org/t/deleting-user-notification-if-they-re-join/116464 "2019-04-30T17:41:17Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Loki](https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/32.png) [@Loki](https://meta.discourse.org/u/Loki)
#### Post date: [2019年四月30日 17:41 UTC](https://meta.discourse.org/t/deleting-user-notification-if-they-re-join/116464/1 "2019-04-30T17:41:17Z")

</div>

We have a user who has asked that their account be deleted including specifically requesting that all their posts be deleted. We don’t want to anonymize since the posts would still be there even though no longer attributed to them. We realize that there will be holes in conversations, but we’re okay with that.

However, we would like to be notified if the user were to later re-join with the same email even if they use a different username. (We realize there’s no way to know if the same person rejoins with a different email.)

Is there any way to be notified if a previously deleted user rejoins?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2019年四月30日 17:42 UTC](https://meta.discourse.org/t/deleting-user-notification-if-they-re-join/116464/2 "2019-04-30T17:42:37Z")

</div>

I think that you could create a `bad_user` user and add the old email address to it. Then if someone tried to sign in with that email address it would be an already existing user.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2019年四月30日 17:51 UTC](https://meta.discourse.org/t/deleting-user-notification-if-they-re-join/116464/3 "2019-04-30T17:51:37Z")

</div>

There’s no built-in way to do that in Discourse but you could use the users webhooks and check the email used?

---

<div class="post-metadata">

### Author: ![Loki](https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/32.png) [@Loki](https://meta.discourse.org/u/Loki)
#### Post date: [2019年四月30日 17:54 UTC](https://meta.discourse.org/t/deleting-user-notification-if-they-re-join/116464/4 "2019-04-30T17:54:54Z")

</div>

But that would prevent them from re-joining, right? We don’t want to prevent them, we just want to know if it happens.

---

<div class="post-metadata">

### Author: ![Loki](https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/32.png) [@Loki](https://meta.discourse.org/u/Loki)
#### Post date: [2019年四月30日 17:55 UTC](https://meta.discourse.org/t/deleting-user-notification-if-they-re-join/116464/5 "2019-04-30T17:55:53Z")

</div>

Sorry, I don’t know about webhooks. Is that something we can set up? Can you explain further?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2019年四月30日 17:57 UTC](https://meta.discourse.org/t/deleting-user-notification-if-they-re-join/116464/6 "2019-04-30T17:57:38Z")

</div>

Have a look at this topic

> [@Configure webhooks that trigger on Discourse events to integrate with external services](https://meta.discourse.org/t/setting-up-webhooks/49045):
>
> A webhook is a way to notify external services about changes on the internet. It’s easier to setup, manage and develop than a Discourse plugin. Though, it does require you to program a little bit or understand its technical details. In this #howto, I’ll set up webhook to power a Github bot for referencing pull request brought in a forum. We’ll want to see a new comment on Github pull request when a new post has a link to it. It’s a very simple process: Publish a new post. A webhook event happ…

You will need to build “the thing” that will receive the webhook payload and process it though.

---

<div class="post-metadata">

### Author: ![Loki](https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/32.png) [@Loki](https://meta.discourse.org/u/Loki)
#### Post date: [2019年五月1日 00:33 UTC](https://meta.discourse.org/t/deleting-user-notification-if-they-re-join/116464/7 "2019-05-01T00:33:00Z")

</div>

@mtan Is this something we might be able to do quickly?

---

<div class="post-metadata">

### Author: ![mtan](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mtan](https://meta.discourse.org/u/mtan)
#### Post date: [2019年五月1日 00:54 UTC](https://meta.discourse.org/t/deleting-user-notification-if-they-re-join/116464/8 "2019-05-01T00:54:23Z")

</div>

Hey Rick thanks for bringing this up. Let me find time later this week to dig deeper. We don’t have anyone in house who can change this quickly or access the user database to manually delete

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2019年五月1日 11:32 UTC](https://meta.discourse.org/t/deleting-user-notification-if-they-re-join/116464/9 "2019-05-01T11:32:30Z")

</div>

If you have a budget you can post in #Marketplace.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2022年八月20日 00:52 UTC](https://meta.discourse.org/t/deleting-user-notification-if-they-re-join/116464/10 "2022-08-20T00:52:37Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2023年一月18日 14:24 UTC](https://meta.discourse.org/t/deleting-user-notification-if-they-re-join/116464/11 "2023-01-18T14:24:44Z")

</div>


