# Inviting user to a topic/message sends out incorrect email

**URL:** https://meta.discourse.org/t/inviting-user-to-a-topic-message-sends-out-incorrect-email/27254
**Category:** Bug
**Created:** [06.Апрель.2015 16:02:53 UTC](https://meta.discourse.org/t/inviting-user-to-a-topic-message-sends-out-incorrect-email/27254 "2015-04-06T16:02:53Z")
**Posts on this page:** 6
**Page:** 1

<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: [06.Апрель.2015 14:05:39 UTC](https://meta.discourse.org/t/inviting-user-to-a-topic-message-sends-out-incorrect-email/27254/1 "2015-04-06T14:05:39Z")

</div>

When inviting existing user to a topic/message, the email notifications are strange … the text version says:

```plaintext
invitingusername invited you to a topic 'Example Topic' on My Discourse Site:

Please visit this link to view the topic: https://discourse.example.com/t/example-topic/42/1

To unsubscribe from these emails, visit your [user preferences](https://discourse.example.com/my/preferences).

```

The HTML version is only the standard notification style with no additional context, i.e.:

> 

**poster** Posting User  
April 6  
Hi, here’s my example message!

> To respond, visit [https://discourse.example.com/t/example-topic/42/1](https://discourse.example.com/t/example-topic/42/1) in your browser.

> To unsubscribe from these emails, visit your user preferences.

---

<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: [06.Апрель.2015 18:03:01 UTC](https://meta.discourse.org/t/inviting-user-to-a-topic-message-sends-out-incorrect-email/27254/3 "2015-04-06T18:03:01Z")

</div>

This invite to topic email for usernames should be nearly the same as the invite to topic email for email addresses.

That is, it should include the topic title and an excerpt of first post and place an emphasis in the title of the person who is asking as this is a person to person action…

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [07.Апрель.2015 00:02:08 UTC](https://meta.discourse.org/t/inviting-user-to-a-topic-message-sends-out-incorrect-email/27254/4 "2015-04-07T00:02:08Z")

</div>

What I gather is that the HTML version doesn’t include the instructions and the text version doesn’t include the excerpt?

---

<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: [07.Апрель.2015 01:20:43 UTC](https://meta.discourse.org/t/inviting-user-to-a-topic-message-sends-out-incorrect-email/27254/5 "2015-04-07T01:20:43Z")

</div>

The html version should be the cooked markdown version which is plaintext…

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [07.Апрель.2015 06:39:32 UTC](https://meta.discourse.org/t/inviting-user-to-a-topic-message-sends-out-incorrect-email/27254/6 "2015-04-07T06:39:32Z")

</div>

Okay, done

[https://github.com/discourse/discourse/pull/3341](https://github.com/discourse/discourse/pull/3341)

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [07.Апрель.2015 11:02:40 UTC](https://meta.discourse.org/t/inviting-user-to-a-topic-message-sends-out-incorrect-email/27254/7 "2015-04-07T11:02:40Z")

</div>


