# Wrong rejection email is being sent

**URL:** <https://meta.discourse.org/t/wrong-rejection-email-is-being-sent/65150>\
**Category:** Bug\
**Created:** [26 Giugno 2017, 10:01pm UTC](https://meta.discourse.org/t/wrong-rejection-email-is-being-sent/65150 "2017-06-26T22:01:07Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [15 Ottobre 2017, 6:48am UTC](https://meta.discourse.org/t/wrong-rejection-email-is-being-sent/65150/11 "2017-10-15T06:48:11Z")

</div>

Change the first condition to

```plaintext
unless manager.user.guardian.can_see?(topic) && !topic.trashed?

```

Staff obviously shouldn’t be posting on deleted topics via email, but you should be doing the full suite of permission checks.

---

_[View the full topic](https://meta.discourse.org/t/wrong-rejection-email-is-being-sent/65150)._
