thunderbird / thunderbird/thunderbird-android

Unread count in all folders - Would like to exclude some folders like trash etc

Open
#1,266 2 comments 1 reaction 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

Expected behaviour

The unread count shall only count unread messages in certain folder

Actual behaviour

Unread counts all unread messages in all folders even trash and spam

Steps to reproduce
  1. Have two unread messages in the inbox - then unread is 2
  2. Delete one without reading it - so 1 unread in inbox and on trash - then unread is still 2
  3. An email that is treated as SPAM arrives - then unread is 3
Environment

K-9 Mail version: 5.010

Android version:6.0.1

Account type (IMAP, POP3, WebDAV/Exchange): IMAP and POP3

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 by reproducing the unread-count behavior with IMAP and POP3 accounts using inbox, trash, and spam folders as described. Determine which folders should be excluded and where unread totals are calculated; done means excluded-folder messages no longer affect the displayed unread count while included-folder messages still do.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.