# 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:** [Abril 20, 2017, 8:06am 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:** 1\
**Showing post:** 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:** [Abril 20, 2017, 8:06am 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.

---

_[View the full topic](https://meta.discourse.org/t/allow-inactive-users-to-mail-in-if-staged-accounts-are-active/61314)._
