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.