The quick selection panel

This panel is laid out as a tree structure whose selectable leafs provides for one-click access to lists of matching messages. Each leaf is internally associated to a SQL query; when the user selects the tree item, the query is run, and a new page is shown with the resulting list of messages.

Contrary to what happens with simple folders, queries aren't necessarily mutually exclusive. In particular, new messages are also current, and the "All" leafs obviously include the results that would be obtained with the more specialized "Prioritized", "Not tagged", etc...

Top-level branches:
New mailCurrent mailTagged mail
Messages that have not been read yet. Messages that are not archived yet (i.e. pending, waiting to be processed) Messages that are tagged, independently of their status

Virtual foldersUser queries
General purpose built-in queries Queries saved by the user either built with the Query/New selection command or imported directly into the database in the user_queries table.

Some entries have a count of messages (number between parenthesis). These counts are updated when the Selection/Refresh command is used.