Project 2: IMAP-based Mail Reader

Implement an IMAP-based mail reader. At a minimum, someone in the School of Computing should be able to use your mail-reading program to read and search e-mail at cs.utah.edu. (The department’s IMAP server is imap.cs.utah.edu port 993, requires an SSL connection, and requires a username and password.)

You do not have not handle sending mail. Your program’s interface can be graphical, textual, or web-based. Your reader doesn’t have to handle encoded mail, but it could optionally decode HTML messages and/or image attachments. You reader doesn’t have to handle mailboxes other than inbox, but it should handle any number of messages in inbox.

Searching should be able to search both message headers and bodies—for a literal string at a minimum, but also perhaps for a regular-expression match.