The libpff library allows us to reference and navigate through PST objects in a programmatic manner. The root_folder() function allows us to reference RootFolder, which is the base of the PST file and the starting point for our recursive analysis of email content. Within RootFolder are folders and messages. The folders can contain other sub-folders or messages. Folders have properties that include the name of the folder, the number of subfolders, and the number of submessages. Messages are objects representing messages and have attributes, including the subject line, the name of all participants, and several timestamps.
An introduction to libpff
How to install libpff and pypff
Installing some third-party libraries is more...