imap telnetem

http://bobpeers.com/technical/telnet_imap.php