Hi, I was going to need to write this anyway, so I took today to write it and the company decided we can open source it. I have literally just pushed it to github, so please report any problems if you try it out. I have not proofread and checked the documentation yet, so I have made it 0.9.0 for the next day or so, after which it will be released. I hope this helps:
https://github.com/gatherstars-com/jwz I have tested it on hundreds of thousands of emails using the enmime email parsing package to generate the envelopes - this is a very good package by the way if you need a parser. Cheers, Jim On Sat, Aug 7, 2021 at 1:40 PM 'Sebastien Binet' via golang-nuts < golang-nuts@googlegroups.com> wrote: > There's that: > > https://git.sr.ht/~emersion/go-emailthreads > > (Quickly scanning the sources, it seems it "just" performs a topological > sort, though) > > hth, > -s > > Aug 7, 2021 00:41:41 Tuhin Nair <tuhinnair...@gmail.com>: > > Hey, this is a long shot but any chance you found a Go implementation for > the JWZ algorithm? > > On Monday, July 20, 2015 at 6:14:32 AM UTC+5:30 a...@develooper.com > wrote: > >> Hi, >> >> Has anyone made an (open source) package to thread emails -- ideally a >> variation of http://www.jwz.org/doc/threading.html ? (I wanted to >> upgrade an old NNTP -> web gateway to Go to make it easier to maintain and >> it seems like nobody has done this part yet as open source -- or really >> much email parsing stuff). >> >> Searching the internet for "golang email thread" (and variations) brings >> a lot of results referencing other email threads. :-) >> >> >> Ask >> > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/89dddc34-3bdf-4cc7-8503-3d43a36ab771n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/89dddc34-3bdf-4cc7-8503-3d43a36ab771n%40googlegroups.com?utm_medium=email&utm_source=footer>. > > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/ddc0e3bd-696f-48a6-9911-b7873a6b3b48%40sbinet.org > <https://groups.google.com/d/msgid/golang-nuts/ddc0e3bd-696f-48a6-9911-b7873a6b3b48%40sbinet.org?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAGPPfg_fOLm8AFfgeuTwGRw%2Bv5BFY6Vwyk2d2R4E5gmcJi2z0A%40mail.gmail.com.