The class structure may look very complicated, however the usage comes natural. Differences are hidden to the user whenever possible. Processing messages and folders with MailBox is simple, as demonstrated by the example above.
The reply
method is much smarter than it looks: is does
handle binary, multipart, and transfer encoded messages in a flexible
way. Therefore, you can safely run this script stand alone without
need for human intervention.