RMMail is a command line tool to retrieve email which supports :
POP3 - POP3 over SSL - IMAP4 - IMAP4 over SSL.
RMMail can :
list the contents of your email box - delete emails on the server - download with or without attachments - leave a copy on the server or delete the mail after download.
RMMail can be used with your own program or you can use it to build fully automated systems:
make your own spam filter (check emails on server and delete emails depending on the contents) - use it for your own programs without the need for programming email functions - use it in older programming languages that do not have email functions (e.g. Dos based languages).
RMMail is easy to use and all output can be easily redirected to a text file so you can import that file in your own program.
RMMail works on Windows XP, Vista, 7 and 8 (x86 and x64).