Ok after you get the READ DOCUMENT MAIL working as indicated in the earlier post, then there is still a problem.
If there is no incoming mail in the INBOX an error message appears:
COULD NOT CREATE META ATTRIBUTES
Translation: Mailbox empty.
Q: How could I capture this exception and handle it properly?