thunderbird / thunderbird/thunderbird-android

Add option to show total unread count instead of local unread count.

Open
#2,805 1 comment 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 behavior

It would be nice if there were an option for the folder list to show the per-folder total number of unread emails on the server.

Actual behavior

The count of unread messages appears to include only locally synced messages, not all unread messages in the folder on the server.

Steps to reproduce
  1. Configure k9mail to sync only the most recent N messages.
  2. Have unread messages less recent than N.
  3. Look at the folder list.
Environment

K-9 Mail version: 5.208

Android version: Android 7.1.2 / LineageOS 14.1

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

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 tracing how the folder list obtains unread counts and how IMAP synchronization limits locally available messages. Review the folder-list and account-sync entry points involved in the existing count behavior. Done means an option can show each folder's total server-side unread count instead of only the locally synced count, with the behavior verified using the reproduction steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.