Sort incoming messages into subfolders of the inbox based on a slug.
install required dependencies using
npm install
build using
npm run bundle
then add to thunderbird by clicking on the hamburger menu in the top right, choosing "Add-ons and Themes", clicking on the cog next to "Manage Your Extensions", then choose "Install Add-on From File..." and selecting the zip.