Problem
When reviewing emails in Thunderbird's Spam folder with the message preview pane enabled, I sometimes encounter legitimate emails that were incorrectly classified as spam.
After opening such an email and marking it as "Not Spam", Thunderbird moves it out of the Spam folder. However, the Spam folder remains selected, and the next email in the list may automatically become selected and displayed in the preview pane.
Why this is a concern
The next email is likely to be actual spam, potentially containing tracking pixels or other remote content.
Although Thunderbird blocks remote content by default, users may have enabled remote content globally or configured exceptions. Automatically opening another spam message therefore creates an unnecessary privacy risk.
More generally, marking a legitimate email as "Not Spam" should not implicitly cause another potentially malicious email to be opened.
Suggested improvement
When an email is marked as "Not Spam" and removed from the Spam folder, Thunderbird should:
Clear the current message selection and message preview instead of automatically displaying the next email.
Keep the user in the Spam folder without opening another message.
Optionally provide a setting to control whether the next message should be automatically selected after moving or removing an email.
Expected behavior
After marking an email as "Not Spam", the preview pane remains empty until the user explicitly selects another email.
This would improve privacy and give users more control when reviewing potentially malicious messages.