# Alternative subject for group pm email notifications

**URL:** https://meta.discourse.org/t/alternative-subject-for-group-pm-email-notifications/57158
**Category:** Feature
**Created:** [9 فبراير 2017، 11:48ص UTC](https://meta.discourse.org/t/alternative-subject-for-group-pm-email-notifications/57158 "2017-02-09T11:48:35Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![LeoMcA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leomca/32/87233_2.png) [@LeoMcA](https://meta.discourse.org/u/LeoMcA)
#### Post date: [20 فبراير 2017، 8:31ص UTC](https://meta.discourse.org/t/alternative-subject-for-group-pm-email-notifications/57158/5 "2017-02-20T08:31:29Z")

</div>

> [@alehandrof](#):
>
> Sorry to be the spoil sport.

np, the only reason I didn’t reply straight away was I’d just started to feel ill with a nasty bout of the flu I’ve just recovered from, and couldn’t wrap my head around any possible solution to the legitimate problem.

> [@alehandrof](#):
>
> Another idea is to ditch the usage of “P” entirely and not try and disambiguate by the number of recipients a message has. Just call everything messages:

We definitely want to be able to distinguish between different types of messages in the subject for our use case.

I wonder if the solution might be to set the subject based on why a user is recieving a notification, so for a notification being sent to `reps-leadership`, `admins` and `@user1`, the subjects are like this:

`reps-leadership`: `[Reps Leadership] Test for Discourse`

`admins`: `[Admin] Test for Discourse`

`@user1`: `[PM] Test for Discourse`

That does still leave the possibility of the problem of a user being in multiple groups, and so sent the notification for multiple reasons (although it would require them to be watching all group inboxes), but I expect this is quite a small edge case, and we can just resort back to using `[PM] Test for Discourse` if it comes up.

With this solution, it would seem to make most sense to have this as a global setting, rather than one on specific groups.

What are the team’s thoughts on this solution?

---

_[View the full topic](https://meta.discourse.org/t/alternative-subject-for-group-pm-email-notifications/57158)._
