https://github.com/teamwork/mailstrip
Reupload of deleted Go port of Mailgun's reply ripping library
https://github.com/teamwork/mailstrip
Last synced: 16 days ago
JSON representation
Reupload of deleted Go port of Mailgun's reply ripping library
- Host: GitHub
- URL: https://github.com/teamwork/mailstrip
- Owner: Teamwork
- License: other
- Created: 2016-05-09T13:20:22.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-09T13:21:46.000Z (about 10 years ago)
- Last Synced: 2025-01-09T09:49:21.568Z (over 1 year ago)
- Language: Go
- Size: 10.7 KB
- Stars: 1
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mailstrip
mailstrip is a [Go][2] library that parses email text and strips it of
signatures and reply quotes. It is a port of [email\_reply\_parser][1], GitHub's
library for parsing email replies.
## Differences to email_reply_parser
Most of mailstrip is a line-by-line port of email\_reply\_parser and it passes
all tests from the email\_reply\_parser test suite. However, it also implements
a few improvements that are not part of email\_reply\_parser:
* Forwarded fragments are detected and considered to be visible text, see
[d321c1][3].
* Replies from Yahoo! which lack ">" quote indicators are handled correctly,
see [e844d][4].
* Alternative quote headers used by gmail are handled correctly, see
[7ecb6][5]
## Documentation
The API documentation can be found here:
http://godoc.org/github.com/ThomsonReutersEikon/mailstrip
## License
MIT License. See LICENSE file.
[1]: https://github.com/github/email_reply_parser
[2]: http://golang.org/
[3]: https://github.com/ThomsonReutersEikon/mailstrip/commit/d321c10543f77c0beaacb40b04511e619f0652c6
[4]: https://github.com/ThomsonReutersEikon/mailstrip/commit/e844df52342787c3cf2e0ebb8850b16e35f7f437
[5]: https://github.com/ThomsonReutersEikon/mailstrip/commit/7ecb608981016c5633575cb93abb00e4c7370bcf