In EGroupware 26.11.20261119, open a Stalwart/JMAP folder with unread messages and choose Mark all as read. The messages remain unread. Marking individual messages as read works.
The folder action passes all to Mail::flagMessages(), but jmapMessageIds() rejects that value. A local fix that queries unread IDs in the selected folder and sets $seen in batches worked with
52 test messages and preserved their other flags.