Since imap is a nice protocol to handle email messages independent of MUA, some functionality is wanted MUA-independently. imaputil is a few simple perl programs to run in a command line context.
Lists unread messages in a specified set of folders. Each unread message is displayed on a line with the from address (optionally real-name only) and the subject.
Mime-escaped strings are decoded (at least for quoted printable).
Calculates the size of folders, like the classic
du Unix command.
Whether it displays the size of just each folder or each folder
with sub folders, is optional.
List your folders, with total and unread number of messages in each.
Report your usage and quota of mail storage, as reported by the IMAP QUOTA extension.
Appends one or more files (messages) to a folder on the imap server, creating the folder if necessary.
Imaputil is copyright by KTH, Rasmus Kaj and Max Zomborszki, but availiable by a BSD-style licence.
Source distributions can be downloaded from ftp://ftp.stacken.kth.se/pub/projects/imaputil/.