Figure 14-12. Save mail selection dialog
To view saved emails later, select the Open action at the bottom of any list window
and pick your save file in the selection dialog. A new mail index list window appears
for the save file and it is filled with your saved messages eventually—there may be a
slight delay for large save files, because of the work involved. PyMailGUI runs file loads
and deletions in threads to avoid blocking the rest of the GUI; these threads can overlap
with operations on other open save-mail files, server transfer threads, and the GUI at
large.
While a mail save file is being loaded in a parallel thread, its window title is set to
“Loading...” as a status indication; the rest of the GUI remains active during the load
(you can fetch and delete server messages, view mails in other files, write new messages,
and so on). The window title changes to the loaded file’s name after the load is finished.
Once filled, a message index appears in the save file’s window, like the one captured
in Figure 14-13 (this window also has three mails selected for processing).
In general, there can be one server mail list window and any number of save-mail file
list windows open at any time. Save-mail file list windows like that in Figure 14-13 can
be opened at any time, even before fetching any mail from the server. They are identical
to the server’s inbox list window, but there is no help bar, the Load action button is
omitted since this is not a server view, and all other action buttons are mapped to the
save file, not to the server.
1032 | Chapter 14: The PyMailGUI Client