Is there any working IMAP client library implemented in Erlang which can query IMAP servers?
erlmail easily found on google