# Email into group sends empty notification

**URL:** https://meta.discourse.org/t/email-into-group-sends-empty-notification/38175
**Category:** Bug
**Created:** [January 19, 2016, 12:44pm UTC](https://meta.discourse.org/t/email-into-group-sends-empty-notification/38175 "2016-01-19T12:44:40Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![carlokok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlokok/32/115951_2.png) [@carlokok](https://meta.discourse.org/u/carlokok)
#### Post date: [January 19, 2016, 12:44pm UTC](https://meta.discourse.org/t/email-into-group-sends-empty-notification/38175/1 "2016-01-19T12:44:40Z")

</div>

Very latest discourse.

Discourse adds an entry for when email groups:  
@carlokok INVITED @SUPPORT2 4 HOURS AGO

and does an explicit, empty email for that:

 ![](https://global.discourse-cdn.com/meta/original/3X/4/1/41cc092f7344ecba6e15f231253cace050c057c2.png)

Update: Looks like it adds a staged user for the target address (support2) of a gruop and then sends an empty notification about that.

---

<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: [January 19, 2016, 1:55pm UTC](https://meta.discourse.org/t/email-into-group-sends-empty-notification/38175/2 "2016-01-19T13:55:41Z")

</div>

Where do these staged users live? Can they be viewed in the admin User list?

I am testing this out too.

---

<div class="post-metadata">

### Author: ![carlokok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlokok/32/115951_2.png) [@carlokok](https://meta.discourse.org/u/carlokok)
#### Post date: [January 19, 2016, 1:57pm UTC](https://meta.discourse.org/t/email-into-group-sends-empty-notification/38175/3 "2016-01-19T13:57:55Z")

</div>

They’re in the users list, but they show as light gray.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [January 19, 2016, 2:20pm UTC](https://meta.discourse.org/t/email-into-group-sends-empty-notification/38175/4 "2016-01-19T14:20:12Z")

</div>

What version are you running? This was fixed by

[https://github.com/discourse/discourse/commit/61cc776fdd08bc692ea2391a10d84c06c096906a](https://github.com/discourse/discourse/commit/61cc776fdd08bc692ea2391a10d84c06c096906a)

---

<div class="post-metadata">

### Author: ![carlokok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlokok/32/115951_2.png) [@carlokok](https://meta.discourse.org/u/carlokok)
#### Post date: [January 19, 2016, 2:22pm UTC](https://meta.discourse.org/t/email-into-group-sends-empty-notification/38175/5 "2016-01-19T14:22:23Z")

</div>

@zogstrip: [FIX: message\_archived? not set correctly for groups · discourse/discourse@665fc44 · GitHub](https://github.com/discourse/discourse/commit/665fc44741e6f0a7717bd7941648618fce3782cc)

Note that there are two issues here:

- It stages a user for the “incoming email” for a group
- It adds the user to the group as extra user and mails about it

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [January 19, 2016, 2:24pm UTC](https://meta.discourse.org/t/email-into-group-sends-empty-notification/38175/6 "2016-01-19T14:24:56Z")

</div>

Just pushed a fix about that specific issue 😉

[https://github.com/discourse/discourse/commit/735017dd9fb846a2b5418935355f1f9fda493b41](https://github.com/discourse/discourse/commit/735017dd9fb846a2b5418935355f1f9fda493b41)

* * *

Also, you might want to disable emails (both “`Send me an email when someone messages me`” and “`Send me an email when someone quotes me, replies to my post, mentions my @username, or invites me to a topic`”) for all the staged users with email matching a group’s incoming email. I might make this automatic but for now a manual workaround is enough.

---

<div class="post-metadata">

### Author: ![carlokok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlokok/32/115951_2.png) [@carlokok](https://meta.discourse.org/u/carlokok)
#### Post date: [January 19, 2016, 2:27pm UTC](https://meta.discourse.org/t/email-into-group-sends-empty-notification/38175/7 "2016-01-19T14:27:57Z")

</div>

Cool. Ofc this fix will hide the notification issue.

Btw: really impressed with this feature. Reported a few issues but really liking it so far.

---

<div class="post-metadata">

### Author: ![carlokok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlokok/32/115951_2.png) [@carlokok](https://meta.discourse.org/u/carlokok)
#### Post date: [January 19, 2016, 4:24pm UTC](https://meta.discourse.org/t/email-into-group-sends-empty-notification/38175/8 "2016-01-19T16:24:30Z")

</div>

Got a bunch of “Carlo\_Kok” accounts now for email addresses like:

[3d6bfe09ec4c581e1d252a331982@talk.remobjects.com](mailto:3d6bfe09ec4c581e1d252a331982@talk.remobjects.com)

([talk.remobjects.com](http://talk.remobjects.com) is my incoming email domain). Will this fix that too?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [January 19, 2016, 4:25pm UTC](https://meta.discourse.org/t/email-into-group-sends-empty-notification/38175/9 "2016-01-19T16:25:20Z")

</div>

What does your “`reply_by_email_address`” setting look like?

If it’s `%{reply_key}@talk.remobjects.com` then **yes** 😉

---

<div class="post-metadata">

### Author: ![carlokok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlokok/32/115951_2.png) [@carlokok](https://meta.discourse.org/u/carlokok)
#### Post date: [January 19, 2016, 4:27pm UTC](https://meta.discourse.org/t/email-into-group-sends-empty-notification/38175/10 "2016-01-19T16:27:56Z")

</div>

thanks. Upgrading now 🙂

---

<div class="post-metadata">

### Author: ![carlokok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlokok/32/115951_2.png) [@carlokok](https://meta.discourse.org/u/carlokok)
#### Post date: [January 19, 2016, 6:07pm UTC](https://meta.discourse.org/t/email-into-group-sends-empty-notification/38175/11 "2016-01-19T18:07:52Z")

</div>

I think I understand now. I email to [sales@remobjects.com](mailto:sales@remobjects.com) which is an alias to [something@talk.remobjects.com](mailto:something@talk.remobjects.com). The fix seems to work for the last one directly, but not the first one, which is the incoming address for the group.

---

<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: [January 19, 2016, 10:53pm UTC](https://meta.discourse.org/t/email-into-group-sends-empty-notification/38175/12 "2016-01-19T22:53:07Z")

</div>



---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [January 20, 2016, 10:09pm UTC](https://meta.discourse.org/t/email-into-group-sends-empty-notification/38175/13 "2016-01-20T22:09:45Z")

</div>

> [@zogstrip](#):
>
> I might make this automatic but for now a manual workaround is enough.

I actually did make it automatic because it wasn’t _that_ hard and was annoying the hell out of me 😈

[https://github.com/discourse/discourse/commit/4a17cdc1e49288dff957a46ba516b7bd65be3ae5](https://github.com/discourse/discourse/commit/4a17cdc1e49288dff957a46ba516b7bd65be3ae5)
