# Suppress email notification for cc'ed users of emailed-in messages

**URL:** https://meta.discourse.org/t/suppress-email-notification-for-cced-users-of-emailed-in-messages/73782
**Category:** Feature
**Created:** [11월 9, 2017, 6:02오후 UTC](https://meta.discourse.org/t/suppress-email-notification-for-cced-users-of-emailed-in-messages/73782 "2017-11-09T18:02:00Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [11월 9, 2017, 6:02오후 UTC](https://meta.discourse.org/t/suppress-email-notification-for-cced-users-of-emailed-in-messages/73782/1 "2017-11-09T18:02:00Z")

</div>

(updated to hopefully make more clear.. sorry if I’m not making sense)

Steps to replicate:

1. on discourse, create test user account ONE with email `ONE@one.com` and leave at default notification settings
2. configure a discourse group inbox with an email-in email address `TWO@two.com`
3. send an email from a 3rd email address `THREE@three.com`, not on discourse, to `TWO@two.com` with a cc to [ONE@one.com](mailto:ONE@one.com)
4. check [ONE@one.com](mailto:ONE@one.com) email: you will see two emails:
  - email from [THREE@three.com](mailto:THREE@three.com)
  - email from discourse

What I would expect and hope for is that at step 4 the test user would only get the email from [THREE@three.com](mailto:THREE@three.com). They would _not_ get an email from discourse at all, though the notification can and should still appear on the notification menu when next they log in.

This issue is not a major one for staff, but it can and will get confusing and annoying for members who will get an extra email and not know where to go to reply.

---

<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: [11월 9, 2017, 6:03오후 UTC](https://meta.discourse.org/t/suppress-email-notification-for-cced-users-of-emailed-in-messages/73782/2 "2017-11-09T18:03:25Z")

</div>

Do you mean “suppress the discourse notification” in bold above, because I am really quite unclear how we would “suppress” the fact that you just mailed someone from your mail client. Do you expect us to to contact google, who sent the mail, and remove that email you just sent, somehow?

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [11월 9, 2017, 6:04오후 UTC](https://meta.discourse.org/t/suppress-email-notification-for-cced-users-of-emailed-in-messages/73782/3 "2017-11-09T18:04:56Z")

</div>

Yes, I mean the email notification from discourse. will update to clarify. 🙂

Totally aware that you can’t stop me from emailing somebody else. It’s the second email from discourse that I’m concerned about.

---

<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: [11월 9, 2017, 6:06오후 UTC](https://meta.discourse.org/t/suppress-email-notification-for-cced-users-of-emailed-in-messages/73782/4 "2017-11-09T18:06:22Z")

</div>

I am still unclear what you mean. The notification, or the actual PM? Can you edit your post to clarify? I’m very very confused.

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [11월 9, 2017, 6:29오후 UTC](https://meta.discourse.org/t/suppress-email-notification-for-cced-users-of-emailed-in-messages/73782/5 "2017-11-09T18:29:56Z")

</div>

This is part of another email related problem I’m currently working on. So, you can expect this to be resolved quite soon.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [11월 9, 2017, 6:59오후 UTC](https://meta.discourse.org/t/suppress-email-notification-for-cced-users-of-emailed-in-messages/73782/6 "2017-11-09T18:59:41Z")

</div>

cool! I’m curious to hear about that. 🚀

FYI, I think the behavior I am expecting is used in the discobot functionality. The tutorial PMs are not delivered by email but do appear on the notification menu to be discovered next time the user logs in.

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [11월 12, 2017, 11:17오후 UTC](https://meta.discourse.org/t/suppress-email-notification-for-cced-users-of-emailed-in-messages/73782/8 "2017-11-12T23:17:13Z")

</div>

Yeah, I reused the same functionality that discobot uses for skipping emails. 😉  
[https://github.com/discourse/discourse/commit/31e2385316422a9d91ec118e73504143f3e4542e](https://github.com/discourse/discourse/commit/31e2385316422a9d91ec118e73504143f3e4542e)

And this is what I was working on:  
[https://github.com/discourse/discourse/commit/5210e3e744995ba94ba69fdf9a64adcb571be58d](https://github.com/discourse/discourse/commit/5210e3e744995ba94ba69fdf9a64adcb571be58d)

Up until now if ONE replied to TWO and THREE, it would have been rejected by Discourse because the reply key didn’t belong to ONE. It belongs to THREE. But since Discourse knows that ONE was CC’d in step 3, it will now allow the incoming email from ONE.
