Bug 409809 - does not sync all emails (gmail + other imap)
Summary: does not sync all emails (gmail + other imap)
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 5.9.3
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-15 06:11 UTC by Corrado Lanera
Modified: 2020-06-01 11:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Corrado Lanera 2019-07-15 06:11:59 UTC
SUMMARY
Emails are retrieved in Inbox only up to a certain period for some account, and only for some folders.

Gmail: "Inbox" has emails from the beginning (10/2007) up to last November (11/2018). All newer emails are not present. On the other hand, emails under labels (e.g., I have a Gmail label "GitHub" for the emails from GitHub) are there up to now. "Sent" and "Important" folder is updated up to 11/2018 too. "Special" is updated up to now (I guess, the last email there is from 13/06/2019). "All messages" folder is updated up to 11/2018 too.

I have checked IMAP configuration on Gmail, and it is active, without limitation on the number or size of emails that can be retrieved. Change label to an e-mail has strange behavior: if I mark an email as "special" (starred) nothing happen, and the email remains missing in KMail; if I add to an email the "GitHub" label it will be downloaded from KMail, and the system notifies it too. 

Something similar happens with another email account (from my university: @unipd.it), it is synced from the beginning up to 02/2016! Moreover, "draft" and "sent" are empty (and there are plenty of emails inside the corresponding folders on the server). I have checked: on the local subscription settings they are all "subscribed."

On the other hands, my @outlook.com account doesn't seem to have any problem, and all the folders are correctly synced and updated. 

STEPS TO REPRODUCE
I don't know, I try to remove the account and re-activate them but the situation does not change.

OBSERVED RESULT
Missing emails 

EXPECTED RESULT
All emails present

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
Debian GNU/Linux 10 stable
KDE Plasma Version: 4:5.14.5.1-1
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3
kernel version: 4.19.0-5-amd64
OS-type: 64-bit

ADDITIONAL INFORMATION
Comment 1 Corrado Lanera 2019-07-15 06:52:13 UTC
When "details progress windows" shows information for the mentioned Gmail's folders (i.e., "important", "inbox", and "all emails"), after some times in which it still at 0% or 1%, it states "connection lost," and pass to the next folder/account.
Comment 2 Corrado Lanera 2019-07-17 14:53:24 UTC
The account which is not Google start working correctly. It could be a Google issue; I have opened a request of assistance to them too (https://support.google.com/mail/thread/10078612?msgid=10078612). Hope that one of you two can be of help :-)

Thanks.

Remark: the issue is related to Inbox, All mail, and Send; all the other folder/label seems to work correctly.