Emails reply shows date, emails and «wrote» from gmail

AI-generated summary

The discussion revolves around an issue where Gmail adds a line to email replies showing the date, sender’s email address, and “wrote” in the recipient’s language. MiguelAngelLV finds this annoying and suggests a solution to remove the message. codinghorror thinks it’s related to localization and not handled by the email library used in Discourse. MiguelAngelLV and MiguelAngelLV ask for ideas and plugins to remove the line using a regular expression. riking suggests submitting a PR to add another alternation to the email receiver library. zh99998 provides a regular expression that could be used to match and remove the line.

If you reply using email, gmail add

El 2/7/2015 3:11 p. m., “MiguelAngelLV” hacklabalmeria.discourse@gmail.com escribió:

The format is: datetime, nick of last user, email address that send the email, and “wrote” o “escribió” in spanish, and this message is show in the reply, example

I know that “this is not a bug of Discourse”, but gmail is a popular email.

Would be added a regular expression or something to remove the message?

3 „Gefällt mir“

I think this has to do with localization. Not sure if GitHub, where we got the email library from, deals with localized string detection in email.

1 „Gefällt mir“

Any idea? In the last version the problem persists.

1 „Gefällt mir“

Any plugin to “remove” a line with a regular expression?

1 „Gefällt mir“

Submit a PR to add another alternation here:

2 „Gefällt mir“

神楽坂玲奈 zh99998@gmail.com于2016年1月9日周六 上午11:58写道:

/.+ .+@\w+.+于\d+.+\d+写道:/

1 „Gefällt mir“

This has been fixed by our latest improvements regarding our email in support.