thunderbird / thunderbird/thunderbird-android

Mark messages as read when moving to spam

Open
#5,767 2 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: enhancement
Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

Problem
Most of the time I move messages to spam without opening them. The message list view is enough. So I mark messages and choose Spam from the menu when messages are still marked as unread. Later, when I open the spam folder to see if there is any new ham, those messages are still marked as unread and unnecessarily make searching for spam more timeconsuming (I've got one account with a poor filter and a lot of false negatives).

Solution
When users choose Spam action, mark messages as read (if users configure so) when (before or after, whatever is more convenient to code for IMAP) moving to spam folder.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Spam action in the message list and trace the IMAP move-to-spam flow, including how the user's read-state preference is checked. Done means configured users have messages marked read when they move them to spam, while the existing behavior remains for users who do not enable it.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.