Multiple mailboxes

Implements the feature requested in issue #1 and also contains a fix for a bug that caused the mailpoller to crash when the mail couldn't be decoded.