# Don't send messages content in e-mail notifications

**URL:** <https://forum.mattermost.com/t/dont-send-messages-content-in-e-mail-notifications/1202>\
**Category:** Troubleshooting\
**Created:** [April 1, 2016, 6:12pm UTC](https://forum.mattermost.com/t/dont-send-messages-content-in-e-mail-notifications/1202 "2016-04-01T18:12:10Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![toogy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/toogy/32/557_2.png) [@toogy](https://forum.mattermost.com/u/toogy)\
**Post date:** [April 1, 2016, 6:12pm UTC](https://forum.mattermost.com/t/dont-send-messages-content-in-e-mail-notifications/1202/1 "2016-04-01T18:12:10Z")

</div>

When a user is IDLE and receives a private message or gets highlighted (with `@username`) she/he gets an e-mail notification that contains the content of the message.

Is it possible to disable the sending of the content of the message and just send a notification saying

> Hey, people are talking to you! You should join the chat to read your messages.

Or something like that, you get the idea 🙂

---

<div class="post-metadata">

**Author:** ![lfbrock](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lfbrock/32/1901_2.png) [@lfbrock](https://forum.mattermost.com/u/lfbrock)\
**Post date:** [April 4, 2016, 1:21pm UTC](https://forum.mattermost.com/t/dont-send-messages-content-in-e-mail-notifications/1202/2 "2016-04-04T13:21:58Z")

</div>

Hi @toogy, can you help me understand why you want that?

---

<div class="post-metadata">

**Author:** ![githubkoma](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/githubkoma/32/1789_2.png) [@githubkoma](https://forum.mattermost.com/u/githubkoma)\
**Post date:** [April 4, 2016, 7:40pm UTC](https://forum.mattermost.com/t/dont-send-messages-content-in-e-mail-notifications/1202/3 "2016-04-04T19:40:30Z")

</div>

i also thought about that one, could get handy sometimes. Perhaps an option PER CHANNEL?

a) E-Mail Notification right now:

```auto
CHANNEL: abc - 13:26 CET, March 21 "I LOVE YOU SO MUCH"

```

b) Option: [x] Disable Message Content in Email Notification

-\> E-Mail Notification with Message Content disabled

```auto
CHANNEL: abc - 13:26 CET, March 21. Hey, people are talking to you! You should join the chat to read your messages.

```

---

<div class="post-metadata">

**Author:** ![toogy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/toogy/32/557_2.png) [@toogy](https://forum.mattermost.com/u/toogy)\
**Post date:** [April 4, 2016, 7:54pm UTC](https://forum.mattermost.com/t/dont-send-messages-content-in-e-mail-notifications/1202/4 "2016-04-04T19:54:52Z")

</div>

For **privacy**. When you want to keep messages in mattermost only and don’t want them delivered to email servers over which you have no control!

---

<div class="post-metadata">

**Author:** ![jimb](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@jimb](https://forum.mattermost.com/u/jimb)\
**Post date:** [April 19, 2016, 3:44pm UTC](https://forum.mattermost.com/t/dont-send-messages-content-in-e-mail-notifications/1202/5 "2016-04-19T15:44:24Z")

</div>

I agree 100% on this, and it should be a global setting option.

I’m thinking about disabling email entirely, as people could be messaging sensitive information in MM that they would never want to be in some random email system that we have no control over.

end users don’t think about it, even though they should. If I just “DM you on mattermost” it will just stay there, and therefore is secure enough. the email containing the detail of a message is a problematic leak IMO.

---

<div class="post-metadata">

**Author:** ![toogy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/toogy/32/557_2.png) [@toogy](https://forum.mattermost.com/u/toogy)\
**Post date:** [April 25, 2016, 8:38am UTC](https://forum.mattermost.com/t/dont-send-messages-content-in-e-mail-notifications/1202/6 "2016-04-25T08:38:45Z")

</div>

@lfbrock : do you understand now? 🙂

---

<div class="post-metadata">

**Author:** ![toogy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/toogy/32/557_2.png) [@toogy](https://forum.mattermost.com/u/toogy)\
**Post date:** [June 7, 2016, 6:00pm UTC](https://forum.mattermost.com/t/dont-send-messages-content-in-e-mail-notifications/1202/7 "2016-06-07T18:00:47Z")

</div>

Is anyone planning on working on this? 🙂

It would be great for me to re-enable email notifications! haha

---

<div class="post-metadata">

**Author:** ![jimb](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@jimb](https://forum.mattermost.com/u/jimb)\
**Post date:** [June 10, 2016, 11:42pm UTC](https://forum.mattermost.com/t/dont-send-messages-content-in-e-mail-notifications/1202/8 "2016-06-10T23:42:31Z")

</div>

I hope we aren’t the only two people who see how this is a huge security hole. It is honestly the only thing keeping me from rolling this out company wide.

---

<div class="post-metadata">

**Author:** ![Darya](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@Darya](https://forum.mattermost.com/u/Darya)\
**Post date:** [July 26, 2016, 9:08am UTC](https://forum.mattermost.com/t/dont-send-messages-content-in-e-mail-notifications/1202/9 "2016-07-26T09:08:18Z")

</div>

Is there any feature request [here](https://mattermost.uservoice.com/forums/306457-general) on this issue for which I can upvote?

---

<div class="post-metadata">

**Author:** ![jasonblais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jasonblais/32/720_2.png) [@jasonblais](https://forum.mattermost.com/u/jasonblais)\
**Post date:** [July 27, 2016, 5:47pm UTC](https://forum.mattermost.com/t/dont-send-messages-content-in-e-mail-notifications/1202/10 "2016-07-27T17:47:33Z")

</div>

Thanks everyone for the feedback here!

@toogy, @githubkoma, @jimb, @Darya I encourage you to contribute the suggestion to our feature idea forum (I didn’t find an existing request), so it can be discussed, upvoted and considered for a ticket accepting pull requests?

Please include a link back to this forum thread so others know where to vote for feature. If you’re interested in implementing, please say so and we’ll prioritize the review.

You get 10 votes in the feature idea forum, and each one influences the future of the project.

---

<div class="post-metadata">

**Author:** ![jimb](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@jimb](https://forum.mattermost.com/u/jimb)\
**Post date:** [July 27, 2016, 6:08pm UTC](https://forum.mattermost.com/t/dont-send-messages-content-in-e-mail-notifications/1202/11 "2016-07-27T18:08:17Z")

</div>

I’ve added it here

> **[Enable omission of message snippets in email notifications](https://mattermost.uservoice.com/forums/306457-general/suggestions/15425175-don-t-send-message-contents-in-email-notifications)**
>
> For organizations with advanced compliance requirements, this feature should enable a System Administrator to omit the inclusion of message contents in email notifications.

I hope you all will upvote for it. As I’ve said, this is a problematic potential leak for our organization. One of the reasons MM is a good solution for us is that we would control its data. Sending these types of notices out via email potentially circumnavigates that control.

Thanks, I hope this can be addressed.

Thank you!
