# 允许将标签添加为电子邮件的自定义主题格式

**URL:** https://meta.discourse.org/t/allow-adding-tags-as-a-custom-subject-format-for-emails/84424
**Category:** Feature
**Tags:** pr-welcome
**Created:** [2018年三月31日 21:40 UTC](https://meta.discourse.org/t/allow-adding-tags-as-a-custom-subject-format-for-emails/84424 "2018-03-31T21:40:21Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![SquareTheBase](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/squarethebase/32/82365_2.png) [@SquareTheBase](https://meta.discourse.org/u/SquareTheBase)
#### Post date: [2018年三月31日 21:40 UTC](https://meta.discourse.org/t/allow-adding-tags-as-a-custom-subject-format-for-emails/84424/1 "2018-03-31T21:40:21Z")

</div>

It appears that tag name isn’t supported with [(Superseded) Customize the subject format for standard emails](https://meta.discourse.org/t/customize-subject-format-for-standard-emails/20801)? Any plans to add that in future releases?

Would be really useful for our support forum to have tag context within the emails sent from Discourse.

---

<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: [2018年四月2日 23:59 UTC](https://meta.discourse.org/t/allow-adding-tags-as-a-custom-subject-format-for-emails/84424/2 "2018-04-02T23:59:54Z")

</div>

I think we are fine with adding:

```plaintext
%{optional_tags} → [tag1] [tag2]  

```

Going to mark it #pr-welcome

---

<div class="post-metadata">

### Author: ![shahidmir](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@shahidmir](https://meta.discourse.org/u/shahidmir)
#### Post date: [2018年六月20日 16:14 UTC](https://meta.discourse.org/t/allow-adding-tags-as-a-custom-subject-format-for-emails/84424/3 "2018-06-20T16:14:36Z")

</div>

Hi

has this functionality been implemented i.e. to enable adding the TAG to email subject line?

shahid

---

<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: [2018年六月22日 08:32 UTC](https://meta.discourse.org/t/allow-adding-tags-as-a-custom-subject-format-for-emails/84424/4 "2018-06-22T08:32:58Z")

</div>

PR has been added, but it’s not merged yet  
[https://github.com/discourse/discourse/pull/5846](https://github.com/discourse/discourse/pull/5846)

---

<div class="post-metadata">

### Author: ![shahidmir](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@shahidmir](https://meta.discourse.org/u/shahidmir)
#### Post date: [2018年六月22日 09:09 UTC](https://meta.discourse.org/t/allow-adding-tags-as-a-custom-subject-format-for-emails/84424/5 "2018-06-22T09:09:16Z")

</div>

thats good news, thanks, will wait for the merge.

regards  
shahid

---

<div class="post-metadata">

### Author: ![jidetheblogger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jidetheblogger/32/73213_2.png) [@jidetheblogger](https://meta.discourse.org/u/jidetheblogger)
#### Post date: [2018年十二月25日 11:30 UTC](https://meta.discourse.org/t/allow-adding-tags-as-a-custom-subject-format-for-emails/84424/6 "2018-12-25T11:30:13Z")

</div>

I would love to personalize email subjects with the name of each member that receives the email just as it’s been done by standard newsletter services
