Change the first condition to
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.
Change the first condition to
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.