# Group name in email subject for notification mails

**URL:** https://meta.discourse.org/t/group-name-in-email-subject-for-notification-mails/38190
**Category:** Feature
**Created:** [1월 19, 2016, 4:40오후 UTC](https://meta.discourse.org/t/group-name-in-email-subject-for-notification-mails/38190 "2016-01-19T16:40:43Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![carlokok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlokok/32/115951_2.png) [@carlokok](https://meta.discourse.org/u/carlokok)
#### Post date: [1월 19, 2016, 4:40오후 UTC](https://meta.discourse.org/t/group-name-in-email-subject-for-notification-mails/38190/1 "2016-01-19T16:40:43Z")

</div>

Would it be possible to get the name of the group in the subject for an email notification (when applicable)? This would make it possible to filter it client side.

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [1월 19, 2016, 4:45오후 UTC](https://meta.discourse.org/t/group-name-in-email-subject-for-notification-mails/38190/2 "2016-01-19T16:45:22Z")

</div>

~~If you mean the category name, then that’s already possible.~~

~~We use the following value for our site setting **email subject** :~~  
~~%{optional\_re}%{optional\_pm}%{optional\_cat}%{topic\_title}~~

~~More:~~

> [@(Superseded) Customize the subject format for standard emails](https://meta.discourse.org/t/customize-subject-format-for-standard-emails/20801):
>
> information_source This content is now covered in [Customize specific email templates](https://meta.discourse.org/t/customize-specific-email-templates/88323) So you want to customize subject format for standard emails? Great, let’s get started! The subject for standard emails can be customized from: Admin / Customize / Email Available formatting options are: %{optional\_re}[%{site\_name}] %{optional\_pm}%{optional\_cat}%{topic\_title} %{optional\_re} → Re: (applicable if the post is a Reply) %{site\_name} → Community Title %{optional\_pm} → [PM] (a…

---

<div class="post-metadata">

### Author: ![carlokok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlokok/32/115951_2.png) [@carlokok](https://meta.discourse.org/u/carlokok)
#### Post date: [1월 19, 2016, 4:48오후 UTC](https://meta.discourse.org/t/group-name-in-email-subject-for-notification-mails/38190/3 "2016-01-19T16:48:09Z")

</div>

Cool. But I did actually mean the group name, for the new inbound email for groups feature.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [1월 19, 2016, 8:37오후 UTC](https://meta.discourse.org/t/group-name-in-email-subject-for-notification-mails/38190/4 "2016-01-19T20:37:25Z")

</div>

I follow, you want this for routing I guess. @zogstrip this should probably be customizable at the bare minimum.

---

<div class="post-metadata">

### Author: ![Manfred\_Bayer-Lemerz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manfred_bayer-lemerz/32/62721_2.png) [@Manfred\_Bayer-Lemerz](https://meta.discourse.org/u/Manfred_Bayer-Lemerz)
#### Post date: [2월 25, 2017, 6:51오후 UTC](https://meta.discourse.org/t/group-name-in-email-subject-for-notification-mails/38190/5 "2017-02-25T18:51:07Z")

</div>

Any news on this one, as we use the groups with incoming email address and also in the mailing list mode therefore it would be great to have the Group Name in subject line.

thanks

Manfred

---

<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: [8월 20, 2018, 2:26오후 UTC](https://meta.discourse.org/t/group-name-in-email-subject-for-notification-mails/38190/6 "2018-08-20T14:26:47Z")

</div>

@maja we should add a new formatting option “`%{group_name}`” to the email notifications subjects so people can add it if they want it.

---

<div class="post-metadata">

### Author: ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)
#### Post date: [8월 21, 2018, 2:38오후 UTC](https://meta.discourse.org/t/group-name-in-email-subject-for-notification-mails/38190/8 "2018-08-21T14:38:42Z")

</div>

Is that meant for PMs/emails sent to a group? This seems to be already implemented via `group in subject ` setting:

> [@Alternative subject for group pm email notifications](https://meta.discourse.org/t/alternative-subject-for-group-pm-email-notifications/57158):
>
> Continuing the discussion from [Email Notification recipients unclear when PM is sent to multiple users](https://meta.discourse.org/t/email-notification-recipients-unclear-when-pm-is-sent-to-multiple-users/26934/24): We’ve just hit this problem, after migrating an email alias to Discourse, and having a few users confused by the subject line reading, for instance: [PM] Test for Discourse - it would be prefereable to have that as: [Reps Leadership] Test for Discourse. (Where Reps Leadership is the full name of the group). I propose adding an option under the existing custom incoming email address option …

---

<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: [8월 21, 2018, 2:41오후 UTC](https://meta.discourse.org/t/group-name-in-email-subject-for-notification-mails/38190/9 "2018-08-21T14:41:37Z")

</div>

Nice. Yup, it’s already available 👌

Thanks @LeoMcA

---

<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: [8월 21, 2018, 2:41오후 UTC](https://meta.discourse.org/t/group-name-in-email-subject-for-notification-mails/38190/10 "2018-08-21T14:41:39Z")

</div>


