Added bug reporting capabilities
Reduced traffic when looking for new messages

The previous code was always retrieving the latest message in the
mailbox. With the new code this is avoided.