Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strip out quoted part of email #43

Open
Trevoke opened this issue Mar 16, 2017 · 4 comments
Open

Strip out quoted part of email #43

Trevoke opened this issue Mar 16, 2017 · 4 comments

Comments

@Trevoke
Copy link
Collaborator

Trevoke commented Mar 16, 2017

Right now the reply-by-email looks like this:

image

It would be great to strip out the pre-existing content and only post the body of the new email.

@knewter
Copy link
Contributor

knewter commented Mar 16, 2017

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

@Trevoke
Copy link
Collaborator Author

Trevoke commented Apr 4, 2017

Is it just me or is this done?

image

@knewter
Copy link
Contributor

knewter commented Apr 5, 2017

reply to it to post to the thread. nope

@knewter
Copy link
Contributor

knewter commented Apr 14, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants