firestorm
firestorm copied to clipboard
Strip out quoted part of email
Right now the reply-by-email looks like this:

It would be great to strip out the pre-existing content and only post the body of the new email.
discussion: how do we want to do that? Since sendgrid decorated the links, I can't just do a 'replace the body of the previous email with a blank string'. Is this something where we accrete a lot of knowledge of how various email clients handle these? How do we avoid false positives? Etc.
I think step 1 would be to get a few examples into a test suite that's marked pending but shows what we expect to happen. I think it's worse if someone replies inline or doesn't top-post, which is how we want people to operate on a mailing list. sigh. Surely there's plenty of prior art here
Is it just me or is this done?

reply to it to post to the thread. nope
Existing quora thread on this problem: https://www.quora.com/How-can-I-programmatically-remove-quoted-replies-from-emails - one python library and one google paper on the issue
https://github.com/closeio/quotequail https://www.google.com/patents/US7222299