Addresses a bug where the email viewer's dark mode setting was not correctly synchronized with the selected theme on the first application launch.
This ensures a consistent user experience regarding light/dark mode across the application and email viewer.