fix bugs wrt path to mailbox & multiple mailboxes