Elmo is a feature-rich console mail client for power users. It integrates functionality commonly realised by separate pieces of software in other mailers and competes with Mutt.
Deletemail is a non-interactive tool for removing
mail from one or more IMAP4 mailboxes. It removes
mail older than a configurable number of days, and
by default does not remove mail that is not marked
as seen on the server.