Thunderbird Setup
Installation
Windows: winget install Mozilla.Thunderbird
macOS: brew install --cask thunderbird
Linux: sudo apt install thunderbird
Account Configuration
Gmail/IMAP Setup
1. Menu ≡ → Account Settings → Account Actions → Add Mail Account
2. Enter:
- Your name: [Full Name]
- Email address: [address@gmail.com]
- Password: [App Password - NOT regular password]
3. Thunderbird auto-detects settings
4. Verify:
- Incoming: imap.gmail.com, Port 993, SSL/TLS
- Outgoing: smtp.gmail.com, Port 465, SSL/TLS
Outlook/Exchange Setup
1. Add Mail Account
2. Enter email and password
3. Thunderbird attempts auto-configuration
4. If fails, manual settings:
- Incoming: outlook.office365.com, Port 993, SSL/TLS
- Outgoing: smmtp.office365.com, Port 587, STARTTLS
Custom Domain/IMAP
Server: mail.yourdomain.com
Username: full email address
Authentication: Normal password
Connection Security: SSL/TLS
Unified Folders
Enable Unified Folders
Menu ≡ → View → Folders → Unified Folders
Default Unified Folders
Inbox (All accounts)
Drafts (All accounts)
Sent (All accounts)
Trash (All accounts)
Archive (All accounts)
Custom Unified Folders
1. Right-click account name → New Folder
2. Name: [Folder Name]
3. Check: "Create as a subfolder of" [select parent]
4. Repeat for each account
5. Thunderbird automatically groups same-name folders
Message Filters
Filter Creation
Menu ≡ → Tools → Message Filters → New
Conditions:
- From ends with @company.com
- Subject contains "Invoice"
- To is support@yourdomain.com
- Date is in the last 7 days
Actions:
- Move to folder: "Work/Clients"
- Tag with: "Important"
- Mark as read
- Forward to: backup@email.com
- Reply with template: "Auto-acknowledgment"
Advanced Filter Examples
Newsletter Auto-Sort
Condition: From contains "unsubscribe" OR Subject contains "newsletter"
Action: Move to "Reading/Newsletters", Mark as read
Priority Flagging
Condition: Subject contains "URGENT" OR From is boss@company.com
Action: Tag with "1 Important", Play sound, Show alert notification
Auto-Archive Old Mail
Condition: Date is greater than 90 days ago AND Tag is not "Keep"
Action: Move to "Archive/2024"
Quick Filter Toolbar
Instant Search Operators
from: john@example.com
to: support@company.com
subject: project proposal
body: contract terms
date: 2024-01-01
tag: Important
has: attachment
is: starred unread
Saved Quick Filters
1. Configure search (e.g., from:client@corp.com has:attachment)
2. Click "Save" in Quick Filter bar
3. Name: "Client Attachments"
4. Access via dropdown in filter bar
Tags and Categories
Default Tags
1 Important (Red)
2 Work (Yellow)
3 Personal (Green)
4 To Do (Blue)
5 Later (Purple)
Custom Tags
Menu ≡ → Settings → General → Config Editor
Search: mailnews.tags
Add: mailnews.tags.custom1.color, mailnews.tags.custom1.tag
Example: mailnews.tags.project.color = #FF6600
Auto-Tagging via Filters
Condition: Subject contains "Project Alpha"
Action: Tag with "Project"
Address Book Integration
Import Contacts
Menu ≡ → Tools → Import
Sources: CSV, vCard, Google Contacts, Outlook
Mailing Lists
Address Book → New Mailing List
Name: "Development Team"
Members: [add emails]
Use: Type list name in To: field
LDAP Directory
Menu ≡ → Account Settings → Composition & Addressing
Addressing: Use a different LDAP server
Server: ldap.company.com
Port: 636 (SSL) or 389 (STARTTLS)
Base DN: ou=users,dc=company,dc=com
Calendar and Tasks
Calendar Setup
Menu ≡ → New → Calendar
Type: On the Network
Format: CalDAV (Google/Apple) or iCalendar (ICS)
Location: https://calendar.google.com/calendar/dav/[user]/events
Task Integration
Tasks → New Task List
Synchronize with: CalDAV server
Categories: Work, Personal, Urgent
Reminders: Popup, Email, or SMS via extension
Add-ons and Extensions
Essential Add-ons
| Add-on | Function | Install |
|---|---|---|
| ImportExportTools NG | Backup/restore emails | Add-ons Manager |
| LookOut | Fix winmail.dat | Add-ons Manager |
| Enigmail | OpenPGP encryption | Built-in (v78+) |
| TbSync | Exchange/ActiveSync | Add-ons Manager |
| Provider for CalDAV & CardDAV | Google/Apple sync | Add-ons Manager |
| Quicktext | Email templates | Add-ons Manager |
| Send Later | Schedule emails | Add-ons Manager |
Template Setup (Quicktext)
1. Install Quicktext
2. Tools → Add-ons → Quicktext → Preferences
3. Create group: "Business"
4. Add template:
Name: "Meeting Request"
Text: "Hello {{TO=firstname}},\n\nCan we schedule a meeting for {{DATE+%A, %B %d}} at {{TIME}}?\n\nBest regards,\n{{FROM=name}}"
Security Settings
OpenPGP Encryption
1. Menu ≡ → Account Settings → OpenPGP Key Manager
2. Generate new key or import existing
3. Publish to key server (optional)
4. Compose email → Security → Encrypt Message
S/MIME Certificates
Account Settings → Security → Digital Signing
Select certificate from Windows/macOS store
Automatically sign all messages: [Check]
Master Password
Menu ≡ → Settings → Privacy & Security → Primary Password
Set master password to encrypt local email database
Performance Optimization
Folder Archives
Right-click folder → ImportExportTools NG → Export all messages
Format: mbox (Unix format)
Store: External drive or NAS
Delete from Thunderbird after export
Compact Folders
Right-click folder → Compact
Or: Menu ≡ → File → Compact Folders
Reclaims space from deleted messages
Offline Settings
Account Settings → Synchronization & Storage
Keep messages for this account on this computer: [Check]
Synchronize all messages locally: [Check]
Don't delete messages: [Check]
Disk space: 500 MB limit for offline use
Mobile Synchronization
K-9 Mail (Android)
1. Install F-Droid or Play Store version
2. Add account → IMAP
3. Incoming: mail.server.com:993
4. Outgoing: mail.server.com:465
5. Enable Push (IMAP IDLE)
6. Set sync frequency: 15 minutes
7. Folder poll: 1 hour
FairEmail (Android – Lightweight)
1. Install from Play Store
2. Add account → IMAP provider
3. Minimal permissions required
4. Battery optimization: Ignore
5. Background sync: Always
iOS Mail App
Settings → Mail → Accounts → Add Account → Other
IMAP settings same as desktop
Enable Push for instant delivery
Alternative: Microsoft Outlook
Unified Inbox
View → Folder Pane → Show Favorites
Add all Inboxes to Favorites
OR: Search Folders → New Search Folder → Mail from all accounts
Focused Inbox
Enabled by default
Train: Move emails between Focused and Other
Rules: Automatically sort based on training
Quick Steps
Home → New Quick Step
1. Name: "To Manager"
2. Actions: Move to folder, Mark as read, Categorize "Manager", Forward to assistant
3. Shortcut: Ctrl+Shift+1
Rules Wizard
Home → Rules → Manage Rules & Alerts
Apply to all messages
Server-side rules (Exchange) vs Client-side rules (POP/IMAP)
Migration Procedures
From Gmail Web
1. Enable IMAP in Gmail settings
2. Add Gmail to Thunderbird
3. Create local folders: "Gmail Archive"
4. Select all emails → Move to local folder
5. Repeat for Labels as folders
6. Export: ImportExportTools NG → Export folder as mbox
From Outlook PST
Linux: readpst -r -o output_dir/ archive.pst
Windows: Use Thunderbird's built-in import or ImportExportTools
macOS: Outlook → Export to OLM → Convert to mbox
From Apple Mail
Mail → Mailbox → Export Mailbox → mbox format
Thunderbird → ImportExportTools NG → Import mbox file
Backup Strategy
Automated Backup Script
#!/bin/bash
# backup_thunderbird.sh
PROFILE_DIR="$HOME/.thunderbird/*.default-release"
BACKUP_DIR="$HOME/Backups/Thunderbird"
DATE=$(date +%Y%m%d_%H%M%S)
mkdir -p $BACKUP_DIR
# Compress profile
tar -czf $BACKUP_DIR/thunderbird_$DATE.tar.gz $PROFILE_DIR
# Keep last 10 backups
ls -t $BACKUP_DIR/thunderbird_*.tar.gz | tail -n +11 | xargs rm -f
# Sync to cloud
rclone sync $BACKUP_DIR remote:backups/thunderbird
Windows Backup
$profile = "$env:APPDATA\Thunderbird\Profiles\*.default-release"
$backup = "D:\Backups\Thunderbird_$(Get-Date -Format 'yyyyMMdd').zip"
Compress-Archive -Path $profile -DestinationPath $backup
Troubleshooting
Repair Folder
Right-click folder → Properties → Repair Folder
Re-indexes messages, fixes corruption
Reset Index
Menu ≡ → Help → More Troubleshooting Information
Application Basics → Open Folder (Profile Folder)
Close Thunderbird
Delete: global-messages-db.sqlite
Restart: Rebuilds search index
Safe Mode
Hold Shift while starting Thunderbird
Disables add-ons for troubleshooting