Email-created reply including reply preamble

AI-generated summary

A user downey reported an issue with email-created replies in Discourse. When replying to a post notification using Gmail, if the initial response is too short, a rejection error occurs. Replying to the initial attempt with a longer response exposes the user’s email address. codinghorror questioned the workflow, suggesting it would be more intuitive to reply directly to the original email. downey explained that the Gmail UI suggests this workflow, and the issue may also occur when replying twice in a row to a topic by email. techAPJ linked a possible solution via a meta discussion on better email reply parsing.

Reproduce:

  1. Reply using Gmail to a post notification. :bulb:
  2. Get a separate rejection error because your reply is less than the default 20 character minimum. :facepunch:
  3. Reply to your first attempt to reply (which still is addressed to Discourse) with a longer response. :angry:

Expected:

  • Only the response content appears.

Actual:

  • Your email address is exposed. :astonished:

Pastebin of original message content available to those who request.

I question whether this is the right way to approach this. Why didn’t you reply to the original email with longer text? Replying to your own email is a bit odd.

Well, it wasn’t me, it was a Real Life User.

But that said, the Gmail UI makes this the suggested workflow, because the big “Click here to Reply or Forward” box is below the most recent message in the thread, which is your own, in this scenario. The reply still goes to the other participant in the conversation, which of course is discourse+key@example.com, but it’s replying “to” your previous message (if you expand the hidden/collapsed portion of the message).

1 « J'aime »

Also, the same situation may happen if someone wants to reply two-times-in-a-row to a topic by email, like I just did here (albeit through the web).

Should be fixed via:

1 « J'aime »