Show the total number of messages in Mail mailboxes

Mar 22, '13 07:30:00AM

Contributed by: kirkmc

Mail lets you choose to show the number of unread messages in mailboxes, but there's no way to show the total number of messages in your mailboxes. While most people may not want this, you might want to know how many messages are in certain mailboxes.

There's an interesting solution to this problem over at Stack Exchange, where user jaume presents two AppleScripts to accomplish this. The idea is to use the AppleScript to count the number of messages in the mailbox, then change the name accordingly, to something like "Messages (23)." The two scripts either change the names of a number of specified mailboxes, or of mailboxes whose names begin with the @ character. The script can be set to run via a Mail rule, such as every time new messages are received.

This is a nifty solution to a problem that many people wouldn't think of, but that can be useful in certain situations.

Comments (11)


Mac OS X Hints
http://hints.macworld.com/article.php?story=2013032201164763