Preferences Saving for Thunderbird

I would to save preferences for a WebExtension addon for Thunderbird.
I tried to use browser.storage.local.getItem(‘preference1’); but I get error “browser.storage is undefined”. I added the permission “storage” in manifest.json.
How can I store users preferences for my WebExention addon ?