@@ -20552,3 +20552,33 @@ CommandServer.")
"Unidiff is a simple Python library to parse and interact with unified
diff data.")
(license license:expat)))
+
+(define-public python-emailthreads
+ (package
+ (name "python-emailthreads")
+ (version "v0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "emailthreads" version))
+ (sha256
+ (base32
+ "128by819l2awvs3gvlcs75s0k8lfl8420s9khjh8bfk8p780rlfm"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:modules ((guix build utils)
+ (guix build python-build-system))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'prepare-for-tests
+ (lambda _
+ (setenv "PKGVER" (version)))))))
+ (home-page
+ "https://github.com/emersion/python-emailthreads")
+ (synopsis
+ "Parses email threads into conversation trees")
+ (description
+ "Python library to parse and format email threads. Give it a list
+of emails that are part of the same thread and it'll build a tree of
+responses to the original message.")
+ (license license:expat)))