Corrected creatMailbox and getMailbox