The error is with getMessageContent. Perhaps there is some message content that cannot be parsed. Can you clear the mailbox folder that is being used, then send just a plaintext email to it as validation?
The issue was protocal whcihw as being used was pop3 instead of imap. After the changes the email2event adapter works fine.
Thanks & Regards,