Mail App does not download entire mailbox

Hi everyone,
Mail app in my NextCloud AIO can’t fetch entire emails from Amazon WorkMail inbox. Details is as below:

Steps to reproduce

  1. Added my Amazon WorkMail mailbox in to NextCloud Mail App. The mailbox has ~1600 emails, first email is in 7 Dec 2023 and the latest one is in today 4 March 2024.
  2. Waited for downloading email
  3. Scrolled by mouse for older email in Inbox and found that the inbox does not show emails before 5 Feb 2024.
    I mean emails from 7 Dec 2023 to 4 Feb 2024 are missing from the mailbox.

Expected behavior

I expected emails from 7 Dec 2023 to 4 Feb 2024 are also downloaded and shown in the NextCloud Mail App inbox.

Actual behavior

Emails from 7 Dec 2023 to 4 Feb 2024 are missing from the NextCloud Mail App inbox.

Mail app version

3.5.7

Mailserver or service

Amazon WorkMail

Operating system

Ubuntu 22.04

PHP engine version

PHP 8.1

Web server

Nginx

Database

PostgreSQL

Additional info

My NextCloud is an NextCloud AIO Nextcloud Hub 6 27.1.5

More details is discussed here: NextCloud AIO Mail App does not download entire mailbox · Issue #9429 · nextcloud/mail · GitHub

May you tell me how can I solve this! Thanks