wounded in the line of duty
I guess you need a mail client that supports tags/labels and smart folders. I don't know of any CLI mail clients that support that however, but if you lose the CLI requirement I think you might be able to get what you're looking for.
More information about formatting options
© 2007-2010 Dag Wieërs | Powered by Drupal and RHEL. | No legal statement, haha.