Change a variable name to something more representitive of the content.
Cosmetic updates to remarks and remove some obsolete variables.
Add some log messages
Add message chunk handling capability and introduce email Parser for easier message formatting.