Find Recently Flagged Messages in Mail.app With Appscript
From the archive — written 16 years ago. About old posts.
How to find all the recently flagged messages in a collection of inboxes using rb-appscript:
#panopticon #ruby