zapier/email-reply-parser

Email Reply parser

teeranan opened this issue · 1 comments

Hi! We are trying to use the EmailReplyParser in our project. We are now testing it. We ran EmailReplyParser.parse_reply(message)
And we noticed that in parsing this message https://gist.github.com/teeranan/46ccdd3f8dacbc061bde. The parser removed all the lines after the line "-------------- next part --------------". Is this part not considered as a reply in your parser?

Yo @teeranan, correct. This line in the email reply parser code:

 SIG_REGEX = r'(--|__|-\w)|(^Sent from my (\w+\s*){1,3})'

recognizes -- as the beginnging of a signature part / ending of an email.