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

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?