I just uploaded ERlMail-0.0.5 into the downloads section of the website. This is a major reworking of the previously released modules and the first release of the generalized message store (gen_store) along with the DETS messages store (dets_store).
The SMTP server module has been completely reworked and the TCP communications problems have been fixed. The server has also been expanded to use the dets_store module to save the messages that it receives and check for users.
The SMTP client has been reworked, but it is not a major change.
The IMAP client has been completely rewritten. Most notably the TCP communications and the error handling have been significantly updated. This version of the IMAP client is most likely not directly compatible with the previous versions. Some testing and integration of the new return values will be needed for anyone using a previous version.
The next version will include the initial release of an IMAP server along with a mnesia_store and hopefully a maildir_store. I still have hopes of releasing ErlMail-0.0.6 during this month, but it would be more realistic to see it in the first half of November.