Being somewhat lame, I always forget the IMAP protocol. Here's a basic command sequence.
1 login user password
1 list "" "*"
1 select inbox
1 fetch 1 All
A collection of useful facts by Joel Williams. Adelaide denizen, residing in Yokohama, Japan. Computer tinkerer. Ecologist. Adelaide University Mountain Club member and outdoor enthusiast. Occasional networking go-to guy.
Contact me by email at joel at this domain.