# Does reassigning a category send a new email out to the group watching the new category?

**URL:** https://meta.discourse.org/t/does-reassigning-a-category-send-a-new-email-out-to-the-group-watching-the-new-category/39249
**Category:** Support
**Created:** [February 8, 2016, 10:16pm UTC](https://meta.discourse.org/t/does-reassigning-a-category-send-a-new-email-out-to-the-group-watching-the-new-category/39249 "2016-02-08T22:16:59Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![smitty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/smitty/32/40573_2.png) [@smitty](https://meta.discourse.org/u/smitty)
#### Post date: [February 8, 2016, 10:16pm UTC](https://meta.discourse.org/t/does-reassigning-a-category-send-a-new-email-out-to-the-group-watching-the-new-category/39249/1 "2016-02-08T22:16:59Z")

</div>

Does reassigning a category send a new email out to the group watching the new category? Sometimes people categorize topics incorrectly, probably like this and need to be re-assigned by a moderator. Once that is done, will the new set of people monitoring the category get notified?

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [February 8, 2016, 10:43pm UTC](https://meta.discourse.org/t/does-reassigning-a-category-send-a-new-email-out-to-the-group-watching-the-new-category/39249/2 "2016-02-08T22:43:56Z")

</div>

Nope, it does not send out a new notification by email if a post is moved to a new category after the ninja edit window has elapsed. It also won’t send out a new notification if you edit it later to mention somebody.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 8, 2016, 10:55pm UTC](https://meta.discourse.org/t/does-reassigning-a-category-send-a-new-email-out-to-the-group-watching-the-new-category/39249/3 "2016-02-08T22:55:54Z")

</div>

First half is good but

> [@tobiaseigen](#):
>
> It also won’t send out a new notification if you edit it later to mention somebody.

No this is not true; unless you have muted a topic (or turned off all notifications) it will always notify someone who is @name mentioned even if that mention is added in an edit after the fact.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [February 8, 2016, 10:59pm UTC](https://meta.discourse.org/t/does-reassigning-a-category-send-a-new-email-out-to-the-group-watching-the-new-category/39249/4 "2016-02-08T22:59:16Z")

</div>

> [@codinghorror](#):
>
> it will always notify someone who is @name mentioned even if that mention is added in an edit after the fact.

Really? I will have to test this. 🙂 Learning new things every day..

Even a group? So if someone forgets to mention a group and I or a moderator go in and mention the group later everyone will be notified? That would be excellent!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 8, 2016, 11:01pm UTC](https://meta.discourse.org/t/does-reassigning-a-category-send-a-new-email-out-to-the-group-watching-the-new-category/39249/5 "2016-02-08T23:01:01Z")

</div>

Except in private messages – a @name message in a private message is a wholly different concept. For what I hope are obvious reasons..

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [February 8, 2016, 11:01pm UTC](https://meta.discourse.org/t/does-reassigning-a-category-send-a-new-email-out-to-the-group-watching-the-new-category/39249/6 "2016-02-08T23:01:43Z")

</div>

yeah, or a @ mention in a private category the mentioned user does not have access to.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [June 3, 2017, 7:53pm UTC](https://meta.discourse.org/t/does-reassigning-a-category-send-a-new-email-out-to-the-group-watching-the-new-category/39249/7 "2017-06-03T19:53:11Z")

</div>

So let me add another scenario here: what happens if I first publish a post in the staff category (and perhaps edit it there a couple of times) before finally moving it to a public category?

There are two questions here, one of which I think I can answer:

1. As stated by @tobiaseigen above, people watching the public category will not be notified about the new post. But will they be notified if I use a topic timer to move the topic from staff to public? - I suppose yes, but is it so?
2. What if I mentioned a non-staff user in that post? I’m assuming that mentioning someone in a category to which that user has no access will not trigger a notification. But will that user be notified when I move the category (a) by ordinary moving, (b) using the topic timer?

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [August 10, 2017, 7:36pm UTC](https://meta.discourse.org/t/does-reassigning-a-category-send-a-new-email-out-to-the-group-watching-the-new-category/39249/8 "2017-08-10T19:36:17Z")

</div>

On my dev instance I just tried these steps:

- **User1** sets “Announcements” category to “Watching”
- **User2** performs these actions:
  - **Private message (publish timer)**
    - Create a private message with self, set timer to publish to “Announcements”

  - **Staff only topic (publish timer)**
    - Create a topic in a staff only category, set timer to publish to “Announcements”

  - **Private message (manual publish)**
    - Create a private message with self, click Make Public Topic [(screenshot here)](https://meta.discourse.org/t/chatroom-integration-plugin-discourse-chat-integration/66522/29)
    - This creates a public “Uncategorised” topic, so move manually to “Announcements”

  - **Mention in PM**
    - Create a private message with self, mentioning **User1**.
    - Click Make Public Topic

None of these scenarios result in a notification to **User1**. To confirm my test was working, I created a topic directly in “Announcements”, and a notification was indeed sent.

So, I think there are a few things that need fixing:

- Notifications should be sent when topics are re-categorised by a “publish” topic timer
- Notifications should be sent when the “Make public topic” button is clicked in a PM. Complication here is that the topic is immediately moved to the “Uncategorised” category, so we’d need a UI to choose a category before publishing.
- Add a `:notify_about_post` DiscourseEvent for plugins to subscribe to (see [here](https://meta.discourse.org/t/chatroom-integration-plugin-discourse-chat-integration/66522/31))

Then there’s the question of whether notifications should be sent for “manually” moving topics between categories. Personally I don’t really have a opinion either way, but a change to the existing behaviour was mentioned [here](https://meta.discourse.org/t/notifications-when-a-topic-is-recategorized/63079).

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [August 11, 2017, 9:41am UTC](https://meta.discourse.org/t/does-reassigning-a-category-send-a-new-email-out-to-the-group-watching-the-new-category/39249/9 "2017-08-11T09:41:35Z")

</div>

Thank you heaps for running all those tests, David, and for listing necessary changes. Given how busy the team is these days, I’d like to point out one change that is really crucial:

> [@david](#):
>
> Notifications should be sent when topics are re-categorised by a “publish” topic timer

I would almost go as far as calling this a bug because in the case of using the publish timer, the user is under the impression of not really publishing the post until the timer does it and hence has a legitimate expectation that the publication by the timer will have exactly the same consequences as a manual one (even the publication time stamp is being reset!).

Not that the other issues don’t need to be addressed, but perhaps not as urgently…

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [May 17, 2018, 8:41am UTC](https://meta.discourse.org/t/does-reassigning-a-category-send-a-new-email-out-to-the-group-watching-the-new-category/39249/10 "2018-05-17T08:41:03Z")

</div>

~~I think~~ all of these issues are now resolved by

[https://github.com/discourse/discourse/commit/ee1eb1a5bd834ed49e7efe2ee58bb567556a8c7c](https://github.com/discourse/discourse/commit/ee1eb1a5bd834ed49e7efe2ee58bb567556a8c7c)

and

[https://github.com/discourse/discourse/commit/147ea37115d043caf6b547933b97eabf34e9f27e](https://github.com/discourse/discourse/commit/147ea37115d043caf6b547933b97eabf34e9f27e)

🎉

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [May 17, 2018, 5:27pm UTC](https://meta.discourse.org/t/does-reassigning-a-category-send-a-new-email-out-to-the-group-watching-the-new-category/39249/13 "2018-05-17T17:27:11Z")

</div>

this is a huge fix - thanks so much. look forward to testing this out.

I had to completely rework my workflow because of this problem with the timed publishing of topics.

[https://meta.discourse.org/t/troubleshooting-scheduled-topics-mentions-and-email-notifications/81230?u=tobiaseigen](https://meta.discourse.org/t/troubleshooting-scheduled-topics-mentions-and-email-notifications/81230)

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [May 18, 2018, 5:07pm UTC](https://meta.discourse.org/t/does-reassigning-a-category-send-a-new-email-out-to-the-group-watching-the-new-category/39249/14 "2018-05-18T17:07:58Z")

</div>

This topic was automatically closed after 32 hours. New replies are no longer allowed.
