Please keep in mind that this application is written in 48 hours during a
programming competition. The e-mail parser is still somehow unstable,
complex or not wellformed headers may not work. There are some e-mail
parsing libraries out there, but
none of them work
properly. I've tried a lot, and after several hours of frustration I
decided to
fix
one lib and move on. The parser is still not very resilient and
malformed dates or broken "Received" header fields canot be handled
correct. This is an issue I am aware of, but don't had the time to write a
proper parser in this short amount of time.