Tray icon themes

Does mailspring support a themes for the tray icon? Many icon themes contain a style for the tray icon:

find /usr/share/icons -name "mailspring-tray*" -print
/usr/share/icons/Papirus-Light/22x22/panel/mailspring-tray-empty.svg
/usr/share/icons/Papirus-Light/22x22/panel/mailspring-tray-full-newitems.svg
/usr/share/icons/Papirus-Light/22x22/panel/mailspring-tray-full.svg
/usr/share/icons/Papirus-Light/24x24/panel/mailspring-tray-empty.svg
/usr/share/icons/Papirus-Light/24x24/panel/mailspring-tray-full-newitems.svg
/usr/share/icons/Papirus-Light/24x24/panel/mailspring-tray-full.svg
/usr/share/icons/Papirus-Light/16x16/panel/mailspring-tray-empty.svg
/usr/share/icons/Papirus-Light/16x16/panel/mailspring-tray-full-newitems.svg
/usr/share/icons/Papirus-Light/16x16/panel/mailspring-tray-full.svg
/usr/share/icons/Papirus/22x22/panel/mailspring-tray-empty.svg
/usr/share/icons/Papirus/22x22/panel/mailspring-tray-full-newitems.svg
/usr/share/icons/Papirus/22x22/panel/mailspring-tray-full.svg
/usr/share/icons/Papirus/24x24/panel/mailspring-tray-empty.svg
/usr/share/icons/Papirus/24x24/panel/mailspring-tray-full-newitems.svg
/usr/share/icons/Papirus/24x24/panel/mailspring-tray-full.svg
/usr/share/icons/Papirus/16x16/panel/mailspring-tray-empty.svg
/usr/share/icons/Papirus/16x16/panel/mailspring-tray-full-newitems.svg
/usr/share/icons/Papirus/16x16/panel/mailspring-tray-full.svg
/usr/share/icons/TelaBudgie/22/panel/mailspring-tray-empty.svg
/usr/share/icons/TelaBudgie/22/panel/mailspring-tray-full-newitems.svg
/usr/share/icons/TelaBudgie/22/panel/mailspring-tray-full.svg
/usr/share/icons/TelaBudgie/24/panel/mailspring-tray-empty.svg
/usr/share/icons/TelaBudgie/24/panel/mailspring-tray-full-newitems.svg
/usr/share/icons/TelaBudgie/24/panel/mailspring-tray-full.svg
/usr/share/icons/TelaBudgie/16/panel/mailspring-tray-empty.svg
/usr/share/icons/TelaBudgie/16/panel/mailspring-tray-full-newitems.svg
/usr/share/icons/TelaBudgie/16/panel/mailspring-tray-full.svg
/usr/share/icons/ePapirus/24x24/panel/mailspring-tray-empty.svg
/usr/share/icons/ePapirus/24x24/panel/mailspring-tray-full-newitems.svg
/usr/share/icons/ePapirus/24x24/panel/mailspring-tray-full.svg

But in the tray, the original icon is displayed

No - Mailspring doesn’t look the tray icon up by name in your icon theme, so those Papirus/Tela mailspring-tray-* files never get used. The icon is a PNG we ship inside the app and hand to Electron’s Tray API as an image, which is why it looks the same regardless of theme. (Those theme entries are presumably left over from the days when the Linux tray used a named icon, or were added by the theme authors on spec.)

What we do have since 1.17.4 / 1.19 is a bit of control in Preferences > Appearance: “Tray icon theme” (Automatic, light-tray or dark-tray variants of our icon) and “Tray icon for new messages” (blue, red, or none, which keeps a static icon regardless of unread mail). Supporting Icon= lookups through the icon theme is a reasonable request and I’ll note it, but it isn’t there today.