Wireshark
for checking out how a particular IMAP was working (or not working) filter: port 143
http://www.youtube.com/watch?v=__SR6JO6l-A