nextcloud / nextcloud/mail

"Could not open folder"

Open
#13,580 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3. to review bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce
  1. Open the Mail app
  2. Try opening certain email folders (like inbox)
Expected behavior

Display all messages in the folder

Actual behavior

No emails shown but a "Could not open folder" message is being displayed

Mail app version

5.11.3

Nextcloud version

33.0.8.2

Mailserver or service

No response

Operating system

mutliple Linux Distros and WIndows 10/11 with Chromium and Firefox

PHP engine version

Other

Nextcloud memory caching

No response

Web server

None

Database

MySQL

Additional info

I think it could be related to formatting/specialties of certain emails.
The folders can load if the certain emails are excluded for example by searching of keywords or adjusting the date range.
It seems to effect most emails by one sender but also multiple other emails and I haven't seen a clear pattern yet.

All emails work fine when I use Thunderbird to access my email account. So it doesn't seem to be an issue with the mail server.

I isolated one email that breaks things and that is not too much of a privacy issue and will attach it here.
Any other good steps I can take to help debugging?

PHP 8.4.12

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Mail app folder-loading failure in version 5.11.3 with the attached problematic email, comparing a failing folder with filtered date or keyword ranges and Thunderbird. Trace the folder message-loading path and use the affected email to identify the failure; done means affected folders display all messages without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mysql, php
Domain
backend, full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.