An independent Roundcube plugin that provides a Thunderbird-style Unified Inbox across your primary mailbox and enabled Gecka ident_switch accounts, without modifying Roundcube core or Gecka source files.
- Account Discovery & Selection: Lists your primary mailbox and enabled Gecka
ident_switchaccounts under Settings → Unified Inbox, with Select All / Deselect All and persistent per-user preferences. - Chronological Merged View: Combines message headers from selected accounts into a native Elastic view with per-account failure isolation.
- Filtering & Caching: Filter by sender/subject search and virtual folders (
Unified Inbox,Unread,Flagged,Sent,Trash), backed by a short-lived session header cache with manual Refresh and automatic invalidation. - Originating-Server Operations: Mark read/unread (
\Seen), flag/unflag (\Flagged), move to any folder on the originating IMAP account, and delete (move to Trash or expunge) directly on the source mail server. - Originating-Identity Replies: Reply and Reply All using the exact originating email identity, SMTP server, and
In-Reply-To/Referencesthreading headers, appending sent replies to the originating account's Sent folder. - Security & Rendering: Decodes single-part, multipart,
quoted-printable,base64, non-UTF-8, andmessage/rfc822parts, sanitizes HTML withrcube_washtml, blocks remote images by default, enforces Roundcube CSRF tokens on all mutations, and never stores passwords in plaintext.
- Roundcube 1.6+ / 1.7.x (tested for Roundcube 1.7.7)
- PHP 8.1+ (web server SAPI & CLI verified)
- Gecka
ident_switch5.x (optional if using primary account only; required for multi-account switching)
- Verify web server PHP version, Roundcube database driver, and back up first:
php -v grep -E "db_dsnw|plugins" /var/www/html/roundcube/config/config.inc.php sudo cp -a /var/www/html/roundcube/plugins/unified_inbox /var/www/html/roundcube/plugins/unified_inbox.backup-$(date +%Y%m%d) 2>/dev/null || true
- Extract
unified_inboxinto/var/www/html/roundcube/plugins/unified_inbox:sudo rm -rf /var/www/html/roundcube/plugins/unified_inbox sudo tar -xzf unified_inbox-0.2.2.tar.gz -C /var/www/html/roundcube/plugins/ sudo chown -R www-data:www-data /var/www/html/roundcube/plugins/unified_inbox
- Run PHP syntax checks across every plugin file:
find /var/www/html/roundcube/plugins/unified_inbox -name '*.php' -print0 | xargs -0 -n1 php -l
- Ensure
'unified_inbox'is present in$config['plugins']inside Roundcube'sconfig/config.inc.php. - Reload Roundcube and open Settings → Unified Inbox to select participating accounts.
cd /var/www/html/roundcube/plugins
sudo rm -rf unified_inbox
sudo mv unified_inbox.backup-YYYYMMDD unified_inbox