# Reply via Email — emails not getting to the staged user

**URL:** https://meta.discourse.org/t/reply-via-email-emails-not-getting-to-the-staged-user/145394
**Category:** Support
**Created:** [March 24, 2020, 1:36pm UTC](https://meta.discourse.org/t/reply-via-email-emails-not-getting-to-the-staged-user/145394 "2020-03-24T13:36:47Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![sheldrake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sheldrake/32/173741_2.png) [@sheldrake](https://meta.discourse.org/u/sheldrake)
#### Post date: [March 24, 2020, 1:36pm UTC](https://meta.discourse.org/t/reply-via-email-emails-not-getting-to-the-staged-user/145394/1 "2020-03-24T13:36:48Z")

</div>

Hi. I have followed the advice here, thank you:

> [@Set up reply by email with POP3 polling](https://meta.discourse.org/t/set-up-reply-via-email-support/14003):
>
> So you’d like to set up reply via email support for your Discourse forum. mega Reply via email is pre-configured and enabled by default on all [discourse.org](http://discourse.org) hosted sites. The guide below only applies to those self-hosting. Good news! Unlike outgoing email, which is completely unsuitable for typical consumer mail services like GMail, Outlook, Yahoo Mail, etc, incoming reply via-email tends to be extremely low volume. Unless you have a truly massive forum with a zillion people replying to no…

Pop3 authenticated. I tested it by emailing our support email address — [instance]@gmail.com — from a completely different email account @other.com. Sure enough the email landed in the private category 💥

I replied to @other.com (i.e. the staged user) in Discourse, and the reply is shown in Discourse but no email ever arrived back at the @other.com email inbox. Checked spam and nothing there.

Reply by email address: [instancename]+%{reply\_key}@gmail.com

Interestingly, 40 mins later, an automated SUMMARY email from the Discourse instance landed in the @other.com inbox.

May I ask if anyone has any ideas? Thanks in advance.

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [March 24, 2020, 7:43pm UTC](https://meta.discourse.org/t/reply-via-email-emails-not-getting-to-the-staged-user/145394/2 "2020-03-24T19:43:29Z")

</div>

If you are sending mail through your `gmail.com` account, I believe there are various issues that can crop up. But also, you can check the email logs on your site to see what it says, and then see if there are messages in the gmail account concerning bounced messages.

I use Mailgun and webhooks to show bounces in Discourse, and it just works and is really cheap and you ought to something similar. 🙂

> [@sheldrake](#):
>
> Interestingly, 40 mins later, an automated SUMMARY email from the Discourse instance landed in the @other.com inbox.

Is it possible you use a separate outgoing server than GMail? If so, that service will have logs for outgoing messages.

---

<div class="post-metadata">

### Author: ![sheldrake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sheldrake/32/173741_2.png) [@sheldrake](https://meta.discourse.org/u/sheldrake)
#### Post date: [March 24, 2020, 9:14pm UTC](https://meta.discourse.org/t/reply-via-email-emails-not-getting-to-the-staged-user/145394/3 "2020-03-24T21:14:38Z")

</div>

Thanks @maiki. I’m using SendGrid. Works a treat. It was unclear to me following “Set up Reply via Email Support” how the emailed response to the staged user actually gets there. There is nothing in the SendGrid logs relating to a success or a fail. And nothing in the corresponding gmail account’s sent folder. 🤔

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [March 25, 2020, 1:09am UTC](https://meta.discourse.org/t/reply-via-email-emails-not-getting-to-the-staged-user/145394/4 "2020-03-25T01:09:34Z")

</div>

What does it say in the logs at `/admin/email`? Check `/admin/email/sent` specifically.

---

<div class="post-metadata">

### Author: ![sheldrake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sheldrake/32/173741_2.png) [@sheldrake](https://meta.discourse.org/u/sheldrake)
#### Post date: [March 25, 2020, 9:09am UTC](https://meta.discourse.org/t/reply-via-email-emails-not-getting-to-the-staged-user/145394/5 "2020-03-25T09:09:07Z")

</div>

Thanks. Still learning my way around Discourse.

Nothing whatsoever related to reply by email in the context here to be found in /admin/email/sent.

No idea what to check next. All ideas most welcome.

 ![Screenshot 2020-03-25 at 09.10.22](https://global.discourse-cdn.com/meta/original/3X/a/f/afec863f12e1650d0a2d532f0329c4df853ef095.png)

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [March 25, 2020, 9:17pm UTC](https://meta.discourse.org/t/reply-via-email-emails-not-getting-to-the-staged-user/145394/6 "2020-03-25T21:17:00Z")

</div>

> [@sheldrake](#):
>
> Nothing whatsoever related to reply by email in the context here to be found in /admin/email/sent.
> 
> No idea what to check next. All ideas most welcome.

Test it again, and pay attention (now that you know where everything is); you can send more tests and figure out at which point it is failing.

If the staged users message comes in, reply to it (and wait for the edit window to expire so the message is sent), and then starting checking logs starting at Discourse, then Sendgrid, then whatever else. 🙂

---

<div class="post-metadata">

### Author: ![sheldrake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sheldrake/32/173741_2.png) [@sheldrake](https://meta.discourse.org/u/sheldrake)
#### Post date: [March 26, 2020, 10:59am UTC](https://meta.discourse.org/t/reply-via-email-emails-not-getting-to-the-staged-user/145394/7 "2020-03-26T10:59:35Z")

</div>

Thanks @maiki. Tested again. Sent in an email. As an admin, I hit “Reply” in the corresponding Discourse category and sent the reply on its way. But to where exactly I have no idea. There is no trace of anything happening that I can find anywhere other than the record of the reply in the Discourse category itself. Nothing in the Discourse email logs. Nothing in SendGrid logs. And definitely nothing arriving back in the originating mailbox.

---

<div class="post-metadata">

### Author: ![sheldrake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sheldrake/32/173741_2.png) [@sheldrake](https://meta.discourse.org/u/sheldrake)
#### Post date: [March 27, 2020, 8:18am UTC](https://meta.discourse.org/t/reply-via-email-emails-not-getting-to-the-staged-user/145394/8 "2020-03-27T08:18:56Z")

</div>

Last night I thought to try messaging a registered user. I went to `/u`, clicked the user, clicked `message`, and off went the message and back came the reply no problem at all.

So I’m thinking the failure of “Reply via email” must be gmail related. 🤔

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 6, 2024, 2:21am UTC](https://meta.discourse.org/t/reply-via-email-emails-not-getting-to-the-staged-user/145394/9 "2024-04-06T02:21:02Z")

</div>


