In all fairness, Thunderbird could have opted to use the windows/Linux logo for macOS and it would look amazing in the dock.
The silly white background squircle trend was set by the chromium/electron apps and it’s the opposite of the Human Interface Guidelines which recommend a distinctive and rich app icon.