nextcloud / nextcloud/mail

Display folder names by its IMAP name not by SPECIAL_USE attribute

Open
#5,388 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Feature Request

I'm not programmer, but as I understand from FolderMapper.php.
In web interface, folders are displayed by SPECIAL_USE attribute instead of its IMAP name.
As a result with following IMAP folder configuration.
In Mail App interface, folder has name Junk instead of Spam.

mailbox Spam {
auto = subscribe
special_use = \Junk
autoexpunge = 7d
}

ef2d2c327e2e19278b263612ec26eb3adb54720a

Summary

In web interface display folder name by its IMAP name not by SPECIAL_USE attribute.

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 reading lib/IMAP/FolderMapper.php, which the issue identifies as the place where folder display names are mapped. Trace how the IMAP name and SPECIAL_USE attribute reach the web interface, then verify that a folder configured with IMAP name Spam and SPECIAL_USE \Junk is displayed as Spam rather than Junk.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.