From 1f50b566d202afc04fe9040bce26cc60000a3114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=A1=B6?= Date: Sat, 5 Dec 2026 16:49:50 +0800 Subject: [PATCH] inbox threads list: --unread and the unread total --unread asks the API for only threads with unread mail. The first page also returns unread_threads, the number of threads matching the same filters that have unread mail; the table output shows it. Co-Authored-By: Claude Opus 5.5 --- docs/commands.zh-CN.md | 4 +++- skills/mailly/reference/commands.md | 2 ++ src/client.ts | 8 ++++++-- src/commands/inbox.ts | 4 +++- tests/inbox-addresses.test.mjs | 17 +++++++++++++++++ 5 files changed, 31 insertions(+), 4 deletions(-) diff --git a/docs/commands.zh-CN.md b/docs/commands.zh-CN.md index a3c51c0..3a20f2a 100644 --- a/docs/commands.zh-CN.md +++ b/docs/commands.zh-CN.md @@ -188,7 +188,7 @@ mailly domains verify-inbound mailly inbox addresses list mailly inbox addresses create --domain [--prefix ] mailly inbox addresses delete --yes -mailly inbox threads list [--address-id ] [--sender-domain ] [--recipient ] [--sender ] [--subject ] [--match exact|fuzzy] [--query ] \ +mailly inbox threads list [--address-id ] [--unread] [--sender-domain ] [--recipient ] [--sender ] [--subject ] [--match exact|fuzzy] [--query ] \ [--since