GNU Mailutils is a rich and powerful protocol-independent mail framework. It contains a series of useful mail libraries, clients, and servers. These are the primary mail utilities for the GNU system. The central library is capable of handling electronic mail in various mailbox formats and protocols, both local and remote. Specifically, this project contains a POP3 server, an IMAP4 server, and a Sieve mail filter. It also provides a POSIX "mailx" client and a collection of other handy tools.
mu is a collection of utilities for maildirs, in particular for indexing and searching them. mu fills a database with information about your emails, which can then be queried using an easy query language. It can work stand-alone or be integrated with a mail client. It also provides an emacs-based email client ("mu4e") and bindings for Guile/Scheme.