Organize Mailboxes with the Sidebar#
Prerequisites#
Sidebar enabled (
set sidebar_visible).Mailboxes defined with the
:mailboxescommand.
Give Mailboxes Friendly Names#
Define named mailboxes for clarity:
named-mailboxes "Work INBOX" "imaps://imap.work.example/INBOX"
named-mailboxes "Personal INBOX" "imaps://imap.personal.example/INBOX"
Expected result: the sidebar shows descriptive names instead of raw paths.
Pin Important Mailboxes#
Always show key folders:
sidebar-pin "Work INBOX" "Personal INBOX"
Expected result: pinned mailboxes remain visible even when filters are enabled.
Keep the Sidebar Focused#
Hide empty folders:
set sidebar_non_empty_mailbox_only = yes
Or show only mailboxes with new or flagged mail:
set sidebar_new_mail_only = yes
Expected result: the sidebar stays compact and actionable.
Customize the Sidebar Format#
Show counts in the sidebar:
set sidebar_format = "%D%* %<N?%N/>%S"
Expected result: you can see new and total message counts at a glance.
See How to Use the Sidebar for full options.