Display folder names by its IMAP name not by SPECIAL_USE attribute
Nobody has claimed this yet.
- 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
}

Summary
In web interface display folder name by its IMAP name not by SPECIAL_USE attribute.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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