fixed issue with getMailbox