Mail Badger

Current version: 0.3 (released May 8, 2008)


What Is Mail Badger?

Mail Badger is a plug-in for Apple's Mail.app that enhances the application's dock icon by allowing users to set up multiple "badges" that display message counts from different mailboxes or counts of messages that satisfy a wide range of conditions.

A brief summary of the features included in Mail Badger:

  • Supports any number of badges, limited only by available memory and performance
  • Complete control and freedom over the position and size of badges on the dock icon
  • Badges can be colorized and made partially transparent
  • Users can set their own custom images to be used on badges (Mail Badger comes with four built-in shapes)
  • Configurable fonts and other text attributes for the number displayed on each badge
  • Message counts displayed on each badge can be computed from the number of messages in a mailbox (unread, read, or total), from the number of messages in an account (unread, read, or total), from the number of messages that satisfy a set of conditions, or by the result of running AppleScript code

How Much Does It Cost?

Mail Badger is freeware! There are no limitations or restrictions on usage. This functionality should have been built-in to Mail.app from day one, and I won't force people to pay for that. However, if you like the plug-in and continue to use it, I would ask you to consider making a donation of whatever amount you feel the application is worth. This will help me to continue updating it with new features, as well as pay for hosting, food, and rent.

If you would like to donate, please use the PayPal button below, or click the "Donate..." button in Mail Badger's preferences pane. Thank you very much for your support!

Screenshots

Click the images below to enlarge them.

 

The Mail Badger preferences pane integrates seamlessly into Mail.app's preferences.

Don't restrict yourself to the built-in shapes — use your own images on badges!

Configure badges that display the number of messages that satisfy a set of conditions.

Configure badges that use AppleScript to get the number to be displayed.

An example of the enhanced dock icon in action.

 

 

Known Issues

  • For users of MailTags, badges that obtain their counts from smart mailboxes that use MailTags custom rules may not have their counts computed correctly.
  • If an image group is set to disallow colorization, then it also cannot be made partially transparent since the opacity is tied to the color and color is not applied in those cases.
  • Font support is still tricky with some fonts because of spacing issues. I'm using an algorithm that seems to  work well on most fonts, but some simply will not center in the badge properly, and moving the number anchor for the image group affects all badges that use those images.
  • I would really like to overhaul the user interface at some point; instead of popping up separate panels for the conditions and script editors, including those in an expandable outline view along with the badge computation in the main window might be better.
  • The available conditions when using "Messages that satisfy conditions" option are all of those available for Smart Mailboxes except for "Entire message contains". The available conditions are implemented as database queries in Mail.app, so they can be executed quickly. The "Entire message contains" condition, as well as other conditions available in Mail.app rules, are not likely to be supported for a while since they appear to require individual inspection of every message.

System Requirements

As of version 0.3, Mail Badger requires Mac OS X 10.5 (Leopard). For 10.4 (Tiger) users, Mail Badger 0.2 is still available but will no longer be updated. Older versions of Mac OS X are not supported.

Mail Badger is a Universal Binary, supporting both Power PC and Intel Macs.


Download

Download: Mail Badger 0.3 | change log (.dmg, requires OS X 10.5)

Download: Mail Badger 0.2 (.dmg, requires OS X 10.4)