Skip to content

Ordering by UID instead of date #59

Description

@TomHuizing

Description

When using the list_emails tool the returned emails are ordered by UID. This ordering is not the same as by date. Because emails are inherently time sensitive it would seem more logical to default to sorting by date, newest first.

Steps to reproduce

Run list_emails on a mailbox where ordering by date isn't the same as ordering by UID

Expected behavior

I would expect the ordering to default to date, newest first.

Actual behavior

Emails are ordered by UID

Version

0.2.3

Email provider

ProtonMail (Bridge)

MCP client

Other

Node.js version

v26.5.1

Operating system

Debian GNU/Linux 12 (bookworm) on ARM64 (RaspberryPi)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions