Rated 5 out of 5 stars

To make the addon work on 136, one only has to update strict_max_version in the manifest version and change the first lines in experiment.js to

const { ExtensionCommon } = ChromeUtils.importESModule(
"resource://gre/modules/ExtensionCommon.sys.mjs");

then it works again :)

Thanks for looking into that; given that there seem to be a lot of users that know what they are doing, I pushed the add-on to GitHub and included the change; an unsupported build is available on the corresponding release https://github.com/rsjtdrjgfuzkfg/thunderbird-minimizeonclose/releases/tag/v2.0.1.4-1-g981004e

Warning: using incompatible add-ons may lead to issues down the line, which might include loss of data. Unsupported builds cannot protect you from that, they are only intended for people that understand the risks, have a solid battle-tested backup strategy and like to live on the edge ;)

For normal users, I recommend to stick with the officially supported ESR version.