PMC (PowerMail Check) is a small utility that installs itself in the System Status Bar (the rightmost part of the menu bar). Through an easily accessible menu, it gives up-to-date information about how many unread e-mail messages you have in your e-mail client application.
Supported e-mail clients
Currently PMC supports PowerMail and AppleMail. See the developer documentation for how to support other e-mail clients.
The menu
PMC menu is identified by this icon:
![]()
Click on it, and a menu appears, looking more or less like this one (details depend on what folders are configured in your e-mail client application):

The first group of items is the list of folders that are configured in your e-mail client application to organize your e-mails; beside each folder name, a number indicates how many unread messages are stored in that folder. You can specify what folders to list in the menu through the preferences window. Selecting one of these folders causes its number of unread messages to be displayed beside the menu icon, so that you can constantly monitor what's new in that folder with just a glance, without needing to reach the menu and pull it down to look at its contents. You can also display beside the menu icon the total number of unread messages for all the listed folders or just nothing, simply by selecting the proper menu command.
The last group of commands gives you control over the application: about box, preferences window, this help, and quitting PMC.
Setting up preferences
Here's how the preferences window looks like:

The table reports all the folders that are configured in your e-mail client application. Note that no hierarchy is kept, so all the folders are "on the same level". Actually, this is a limit of the current implementation of PMC. Only folders that have a checkmark beside their name are listed in the application menu (double-click on the cell to add or remove the checkmark); however, if you exclude a folder from being listed in the menu, all its subfolders (in the e-mail client application) will also be skipped, even if they are marked as checked in the table. You can update the folders list with the proper button below the table.
The rest of the preferences window lets you choose how often you want PMC to update the number of unread messages (this is a rather processor-intensive task, so don't set this time too short), what e-mail client application you are using among those that are supported, and if you want PMC to automatically look for newer versions.
Developer documentation
PMC can be used with any e-mail client application that supports a certain set of AppleScript commands; if you want to add support to an e-mail client application that's not currently supported, here's the place where you can find all the information you need.
The "core" of PMC is constituted by two AppleScript scripts. You can find them in the application bundle (in the Finder, control-click or right-click on PMC's icon and choose "Show package contents"), in the folder Contents/Resources/Scripts. Here, one or more folders identify all the supported e-mail client applications. Let's take PowerMail as an example. Open the PowerMail folder and look at the three files you find there. Here's what they mean:
excludeFolders) is defined containing just one special element: "$$$". This special code is used by PMC to search for three dollar signs (surrounded by double quotes) in the script source code and replace them with the list of folders that the user has excluded in the preferences window.
"$$$"; don't use this code "$$$" anywhere else in the script, since PMC assumes that the one and only place where it finds it is where PMC itself must replace it with the list of folders that the user has excluded.