~emersion/go-emailthreads

Go library to parse email threads
Be more strict when stripping reply headers and signatures
Ignore snip texts
Ignore blocks with reply headers and signatures

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~emersion/go-emailthreads
read/write
git@git.sr.ht:~emersion/go-emailthreads

You can also use your local clone with git send-email.

#go-emailthreads

godocs.io

A Go library to parse email threads. Give it a list of emails that are part of the same thread and it'll organize the replies in a tree structure.

This is a port and enhancement of python-emailthreads.

#Usage

See the documentation.

To quickly find out how the library parses an email thread, you can use:

go run ./cmd/emailthreads-parse <thread.mbox

#License

MIT