Some mail clients, don't set the References
headers, but Thread-Index
.
Is there a way to parse this header in Python?
Related: How does the email header field 'thread-index' work?
Mail 1
Date: Tue, 2 Dec 2014 08:21:00 +0000
Thread-Index: AdAOBz5QJ/JuQSJMQTmSQ8+dVs2IDg==
Mail 2 (Which is related to Mail 1)
Date: Mon, 8 Dec 2014 13:12:13 +0000
Thread-Index: AdAOBz5QJ/JuQSJMQTmSQ8+dVs2IDgE4StZw
Update
I want to be able to link these two mails in my application. It already works perfectly for the well known References
and In-Reply-To
headers.