# Help a non-dev customize a subject line?

**URL:** https://meta.discourse.org/t/help-a-non-dev-customize-a-subject-line/146337
**Category:** Support
**Created:** [March 31, 2020, 8:15pm UTC](https://meta.discourse.org/t/help-a-non-dev-customize-a-subject-line/146337 "2020-03-31T20:15:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![staceymintcro](https://avatars.discourse-cdn.com/v4/letter/s/e56c9b/32.png) [@staceymintcro](https://meta.discourse.org/u/staceymintcro)
#### Post date: [March 31, 2020, 8:15pm UTC](https://meta.discourse.org/t/help-a-non-dev-customize-a-subject-line/146337/1 "2020-03-31T20:15:15Z")

</div>

I’m really sorry to post this, but I’m non-dev and worry I’ll lose a lot of my day trying to figure out how to rewrite the subject line for a notification email.

When a user makes a new post, I’d like to revise the subject line from **[%{email\_prefix}] %{topic\_title}** to **USER NAME just made a new post in [%{email\_prefix}] %{topic\_title}**

I tried **%{username} just added a new post in [%{email\_prefix}] %{topic\_title** but received this error: The following interpolation keys are invalid: “username”.

What am I missing? Many thanks in advance!

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [March 31, 2020, 9:22pm UTC](https://meta.discourse.org/t/help-a-non-dev-customize-a-subject-line/146337/2 "2020-03-31T21:22:12Z")

</div>

> [@staceymintcro](#):
>
> I’m really sorry to post this, but I’m non-dev and worry I’ll lose a lot of my day trying to figure out how to rewrite the subject line for a notification email.

I do some Discourse development and am not sure how to find all the available interpolation keys that can be used in the Discourse email templates, so your question is completely valid. There is a similar question here: [Customizing specific system email templates - #14](https://meta.discourse.org/t/how-to-customize-email-templates/88323/14).

As far as I know, the `%{username}` interpolation key cannot be used in the User Posted email template’s subject line. I can’t think of any good workaround for this.

---

<div class="post-metadata">

### Author: ![staceymintcro](https://avatars.discourse-cdn.com/v4/letter/s/e56c9b/32.png) [@staceymintcro](https://meta.discourse.org/u/staceymintcro)
#### Post date: [April 1, 2020, 6:36pm UTC](https://meta.discourse.org/t/help-a-non-dev-customize-a-subject-line/146337/3 "2020-04-01T18:36:56Z")

</div>

Thanks @simon – is there a way to get Discourse’s attention on this? Am I wrong to think this could be a simple adjustment to their code?

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [April 1, 2020, 6:42pm UTC](https://meta.discourse.org/t/help-a-non-dev-customize-a-subject-line/146337/4 "2020-04-01T18:42:43Z")

</div>

> [@staceymintcro](#):
>
> is there a way to get Discourse’s attention on this?

By posting here, you have the attention of the Discourse team. There are several of us who read virtually every post that is created on Meta.

As a customer, you can also get private support by contacting us through the support email address that is given on your site’s admin dashboard.

---

<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: [April 17, 2024, 11:43pm UTC](https://meta.discourse.org/t/help-a-non-dev-customize-a-subject-line/146337/5 "2024-04-17T23:43:42Z")

</div>


