How to use C++ for developing an email client with MIME support?