nextcloud / mail

💌 Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
828 stars 256 forks source link

Mail App does not download entire mailbox #9429

Open pdev1968 opened 5 months ago

pdev1968 commented 5 months ago

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

ChristophWurst commented 5 months ago

if you scroll to the bottom of the emails, do you see a network request in the browser developer tools?

pdev1968 commented 5 months ago

Hi @ChristophWurst Yes, I see some network requests right after scrolling down. I attached a screenshot here too network request

I also see the spinning circle at bottom of the inbox.

ChristophWurst commented 5 months ago

1707118229 is Feb 05 07:30:29.

Does the request for messages contain any messages in its response? Do you get an error in the console log?

pdev1968 commented 5 months ago

Hi @ChristophWurst

I don't see anh related error in the console. Just one info line "[INFO] mail: envelope list end reached {app: 'mail', uid: 'theusername', level: '2'}"

The request above got empty responses

ChristophWurst commented 5 months ago

The request above got empty responses

That doesn't seem right. I'm not sure how this can be debugged further.

pdev1968 commented 5 months ago

Hi @ChristophWurst

The 5 Feb 2024 is the date I added the mailbox to NextCloud Mail App. Do you see any relation for this date?

pdev1968 commented 5 months ago

Please, anyone can help me on this!

ChristophWurst commented 5 months ago

Consult https://help.nextcloud.com/c/support/7 for community support

pdev1968 commented 5 months ago

@ChristophWurst Many thanks for your help @ChristophWurst.