The Problem
I use the Automatic theme, so Mailspring’s interface follows macOS between light and dark. Email bodies now have their own setting instead (Preferences > General > Reading > Email body appearance, or the light-bulb icon next to the subject), and that one stays fixed. If I leave it on light, at night I get a dark interface with bright white emails. If I leave it on dark, I get inverted emails all day. So I flip the bulb by hand twice a day.
Proposed Solution
A third choice for Email body appearance: Match system appearance. It would use dark email mode while the system is in dark mode and light email mode otherwise, switching live like the Automatic theme does. Light would stay the default.
One open question is the bulb in that mode. It would show the mode in use, and clicking it could either:
-
switch the setting to a fixed Light or Dark, as it does now, or
-
override only until the next system switch, then go back to following the system.
I’d be glad to open a pull request if you’d accept this. It looks small: the new value in config-schema.ts, a public way to read the system dark mode that ThemeManager already tracks (with a change event), EmailFrameStylesStore choosing the mode from it, the bulb, and a case in email-frame-styles-store-spec.ts. I’d write it with help from Claude Code.