scripting apple's mail app

: is is possible to get applescript to output how many emails is
: currently in a mailbox
I’m sorry to say that I don’t have OS X so I can’t offer specifics
about scripting “Mail”. Hopefully someone else will provide the
answer. :slight_smile:
As a last resort, you might be able to search Apple’s mailing
list archive (for AppleScript). It’s possible that the question has
been asked and answered.
On a related note, Apple has advised users that the archives
and search engine will be undegoing extensive work in order
to provide a better user experience. During this time,
interruption of service may occur.
Rob J