Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

"Could not open folder"

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

Description

1. to develop bug
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

Dominant language
JavaScript
Stars
1k
Forks
363
Avg merge
1d 10h
Merged PRs (30d)
80

Getting set up

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.

More from nextcloud/mail

All issues in nextcloud/mail

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.