The conversion of html to inline-styled html compatible with e-mail clients failed to take into account styles that included `var()` and/or `calc()`. Those didn't occur with Bootstrap 4 but are very common with Bootstrap 5. This allow that conversion by using `getComputedStyle` in those cases. Task ID: 2766483 Part-of: odoo/odoo#95450