Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access thunderbird emails by python [closed]

I need to get informations out from my tree of Thunderbird message folders (which contains a large amount of email).

I need to be able to search the messages (optionally the attachments) and to report to the calling program.

There is some python module able to do it?

like image 660
alessandro Avatar asked Feb 07 '14 10:02

alessandro


1 Answers

As you apparently figured out yourself already, yes.

The vanilla python module mailbox, which exists in any python 2 or 3 version, is all you need:

http://docs.python.org/2/library/mailbox.html

like image 178
Has QUIT--Anony-Mousse Avatar answered Oct 12 '22 06:10

Has QUIT--Anony-Mousse