# Allow inactive users to mail-in if staged accounts are active

**URL:** https://meta.discourse.org/t/allow-inactive-users-to-mail-in-if-staged-accounts-are-active/61314
**Category:** Feature
**Created:** [4월 20, 2017, 8:06오전 UTC](https://meta.discourse.org/t/allow-inactive-users-to-mail-in-if-staged-accounts-are-active/61314 "2017-04-20T08:06:43Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [4월 20, 2017, 8:06오전 UTC](https://meta.discourse.org/t/allow-inactive-users-to-mail-in-if-staged-accounts-are-active/61314/1 "2017-04-20T08:06:43Z")

</div>

I just accidentally shot myself in the foot by asking a bunch of users [that have an inactive account](https://meta.discourse.org/t/re-purposing-a-discourse-installation-for-a-yearly-event/34670/17) to write an email to a group-inbox-address.

Incoming mails from these users are rejected:

> <https://github.com/discourse/discourse/blob/93556bb950d4c58e3e08ae927ccb32408fead9f4/lib/email/receiver.rb#L74>

Of course, rejecting mails from inactive users made a lot of sense before, but with staged accounts, it’s a bit weird:

- Users that have an active account can mail in, of course.
- Users that have an inactive account **cannot** mail in.
- Users that have no account _can_ mail in, because an account will be staged for them.

I’d like to close the gap by allowing inactive accounts to use mail-in (and be sent replies to these messages), just as if their account didn’t exist at all.

---

<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: [4월 20, 2017, 8:17오전 UTC](https://meta.discourse.org/t/allow-inactive-users-to-mail-in-if-staged-accounts-are-active/61314/2 "2017-04-20T08:17:14Z")

</div>

Well, if they can mail-in, they aren’t inactive, are they? 😉

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [4월 20, 2017, 8:20오전 UTC](https://meta.discourse.org/t/allow-inactive-users-to-mail-in-if-staged-accounts-are-active/61314/3 "2017-04-20T08:20:07Z")

</div>

No, they would be so inactive that everything would behave as if they hadn’t any account after all 😉

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [4월 20, 2017, 9:15오전 UTC](https://meta.discourse.org/t/allow-inactive-users-to-mail-in-if-staged-accounts-are-active/61314/4 "2017-04-20T09:15:45Z")

</div>

I’m pretty sure I’ve hit this before, and it was perplexing. I’m 💯 👍 to making an inactive account behave the same as a staged one, for the purposes of e-mail.

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [6월 13, 2018, 9:56오후 UTC](https://meta.discourse.org/t/allow-inactive-users-to-mail-in-if-staged-accounts-are-active/61314/5 "2018-06-13T21:56:03Z")

</div>

One year later, this hit us again, so I thought bumping this would be appropriate 🙂

---

<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: [6월 13, 2018, 11:01오후 UTC](https://meta.discourse.org/t/allow-inactive-users-to-mail-in-if-staged-accounts-are-active/61314/6 "2018-06-13T23:01:02Z")

</div>

We just aren’t running into this with any of our hosted sites, or ourselves.

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [6월 14, 2018, 3:37오전 UTC](https://meta.discourse.org/t/allow-inactive-users-to-mail-in-if-staged-accounts-are-active/61314/7 "2018-06-14T03:37:36Z")

</div>

I understand. Still, [@mpalmer has been perplexed by that before](https://meta.discourse.org/t/allow-inactive-users-to-mail-in-if-staged-accounts-are-active/61314/4), and it comes up in a use case [you are very interested in](https://meta.discourse.org/t/re-purposing-a-discourse-installation-for-a-yearly-event/34670/11) 😃
