Skip to content

BUG: Displayed number of emails incorrect #1640

Description

@Brixy

Describe the bug

Hi all,

matcha indicates the wrong number of emails in all folders.

To reproduce

Currenty, I have 5 different emails in "INBOX".

Matcha (latest V1 commit) only shows 4 emails.

After pressing j it shows 6(!). The last email is shown three times, the first email is not shown at all.

I noticed that some emails (e.g. Zulip notifications) are never shown. Maybe there is an internal filter.


In "Archive" there are 141 emails. Matcha shows 49. After pressing G multiple times Matcha finally indicates that there are 139(!) emails altogether.

Expected behavior

Matcha should show the correct number of emails per folder, if possible without pressing j or G.

Screenshots

No response

Matcha version

V1 0306f6c

Go version

go1.26.4

OS

Linux

OS version

Void

Architecture

amd64 (x86_64)

Terminal

foot

Additional context

Threaded conversation view is off by default. That's not the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch/amd64amd64 / x86_64area/notifyNotificationsarea/tuiTerminal UI / view layerbugSomething isn't workingneeds-triageAwaiting maintainer reviewos/linuxLinux-specific

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions