Mail App Email Loading Slow

Loading emails in the nextcloud mail app is very slow for me (10s+ on an average email), removing html and the encrypted elements from the vues makes it like 8 seconds faster but going with just the MessagePlainTextBody causes bad formatting.

Request Time (Never opened & Average length email):

  • thread - 94 ms
  • body - 2.69 s
  • html - 4.01 s
  • flags - 3.68 s

This is using googles SMTP and IMAP with their XOAuth as well, which should be a lot faster than this.

SMTP: smtp.gmail.com
IMAP: imap.gmail.com

1 Like

do you have a slow internet connection?

I’ve tested it on multiple connections, the current one being 400 down and 30 up.

what version of Mail do you use? at least loading the thread was recently improved.

Also how big are you oc_mail_* tables?

Hi there, I have the same issue. My oc_mail_* its not more 520kb.

When i try with roundcube with anonymous browser page, it´s 10x more faster.

I have the same issue on NC 20.0.10 Php 7.4 Apache/MariaDb.

This seems to be something to do with the priority mailbox. I can load emails fine if I just click on Inbox, but by default the priorty mailbox is show and that one never finishes “loading”

Anyway to disable priorty mailbox thing?

Hi Folks,

we have the same issue reported on a client site.
As you can see, i´ve attached our DB Tables of the Mail-Columns:
09.15.2021-12.27.46

Any Suggestions on this issue?
Thanks,
Dennis