As discussed in Bitmask issue 8798 (https://0xacab.org/leap/bitmask-dev/issues/8798), the code in LeapMailStore._get_or_create_mailbox partially duplicates the code under the public mail api in mail.mail.Account.add_mailbox, but it's missing the part that creates an entry in the local sqlcipher db.
I'd suggest to use the public api in bitmask.mail.mail.Account for mailbox creation instead.
As discussed in Bitmask issue 8798 (https://0xacab.org/leap/bitmask-dev/issues/8798), the code in
LeapMailStore._get_or_create_mailbox
partially duplicates the code under the public mail api inmail.mail.Account.add_mailbox
, but it's missing the part that creates an entry in the local sqlcipher db.I'd suggest to use the public api in bitmask.mail.mail.Account for mailbox creation instead.