# Email reply parsing

**URL:** <https://meta.discourse.org/t/email-reply-parsing/41597>\
**Category:** Bug\
**Tags:** email\
**Created:** [March 26, 2016, 12:03pm UTC](https://meta.discourse.org/t/email-reply-parsing/41597 "2016-03-26T12:03:58Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![steko](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@steko](https://meta.discourse.org/u/steko)\
**Post date:** [March 29, 2016, 10:56am UTC](https://meta.discourse.org/t/email-reply-parsing/41597/9 "2016-03-29T10:56:59Z")

</div>

Oh, I was under the impression that signatures starting with “–\n” or “–  
\n” were already removed by the parser (since it seems easy, but I  
understand that there are 2^1231234 possible variants).

I just updated my forum and I’m replying to this message by email to see  
what happens here on Meta. Thanks!

> Il 29 marzo 2016 alle 12.47 Régis Hanol [info@discourse.org](mailto:info@discourse.org) ha scritto:
> 
> > [@steko](#):
> >
> > but it seems to miss also the signature at the bottom of the message,
> 
> We **do not** remove user signatures.
> 
> Since there is no standards around user signatures, there is no **easy**  
> way to even get it to work for 75% of the emails.
> 
> The [best solution](https://github.com/mailgun/talon) I’ve found so far  
> requires machine learning and **lots** of training samples. It gets much  
> harder when you have to support more than one locale…
> 
> * * *
> 
> EDIT: I already added support for italian replies, but did push a new  
> version of the gem. I just did, you should update 😉
> 
> [update 'email\_reply\_trimmer' to latest version · discourse/discourse@480e8d0 · GitHub](https://github.com/discourse/discourse/commit/480e8d0dc7c5627b36ad3151719c67780fa3c5b6)
> 
> Posted by zogstrip on 03/29/2016
> 
> * * *
> 
> [Visit Topic](https://meta.discourse.org/t/email-reply-parsing/41597/8)  
> or reply to this email to respond
> 
> To stop receiving notifications for this particular topic, [click  
> here](https://meta.discourse.org/t/email-reply-parsing/41597/unsubscribe).  
> To unsubscribe from these emails, change your [user  
> preferences](https://meta.discourse.org/my/preferences)

Stefano Costa @stekosteko  
Editor, Journal of Open Archaeology Data

---

_[View the full topic](https://meta.discourse.org/t/email-reply-parsing/41597)._
