Console-base e-mail parsing program written in C++