# Clicking the envelope does not work for non-staff users

**URL:** <https://meta.discourse.org/t/clicking-the-envelope-does-not-work-for-non-staff-users/232242>\
**Category:** Bug\
**Tags:** pr-welcome\
**Created:** [July 7, 2022, 8:05pm UTC](https://meta.discourse.org/t/clicking-the-envelope-does-not-work-for-non-staff-users/232242 "2022-07-07T20:05:01Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [July 7, 2022, 8:05pm UTC](https://meta.discourse.org/t/clicking-the-envelope-does-not-work-for-non-staff-users/232242/1 "2022-07-07T20:05:01Z")

</div>

Clicking the envelope to reveal an incoming email should work for staff and for users viewing their own posts. However, as a non-staff user trying to view their own post, this results in a Javascript error. The user is able to view the underlying json when that is requested manually.

It does work for staff users.

![firefox_ACou9sp2yI](https://global.discourse-cdn.com/meta/original/4X/8/c/c/8ccb2b1034001c2b0c9ad06c91793928c4957139.gif)

---

_[View the full topic](https://meta.discourse.org/t/clicking-the-envelope-does-not-work-for-non-staff-users/232242)._
