Configuring Thunderbird: Difference between revisions
(41 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
== Setting Up the Inbox Accounts == | ==Setting Up the Inbox Accounts== | ||
The instructions given below explain how to set up the "Support" account on Thunderbird. | The instructions given below explain how to set up the "Support" account on Thunderbird. | ||
Line 41: | Line 41: | ||
[[File:thunderbird_7.jpg]] | [[File:thunderbird_7.jpg]] | ||
== Account Settings == | ==Account Settings== | ||
Verify that the account settings for all the accounts are entered as shown below. | Verify that the account settings for all the accounts are entered as shown below. | ||
Line 55: | Line 55: | ||
[[File:Account junk.jpg|500px]] | [[File:Account junk.jpg|500px]] | ||
The Synchronisation & Storage settings should be changed to the settings shown below only at a convenient time, since downloading all the emails will take a lot of time for accounts with large number of emails. Also see [[Configuring_Thunderbird#Adding_email_accounts_with_large_numbers_of_emails |Adding email accounts with large number of emails ]] | For backups@neosys.com account, under "Synchronization and Storage", change the setting to "Delete messages more than 365 days old" | ||
The Synchronisation & Storage settings should be changed to the settings shown below only at a convenient time, since downloading all the emails will take a lot of time for accounts with large number of emails. Also see [[Configuring_Thunderbird#Adding_email_accounts_with_large_numbers_of_emails |Adding email accounts with large number of emails]] | |||
[[File:acsettings6.jpg]] | [[File:acsettings6.jpg]] | ||
Line 63: | Line 65: | ||
[[File:acsettings8.jpg]] | [[File:acsettings8.jpg]] | ||
===Adding email accounts with large numbers of emails=== | |||
=== Adding email accounts with large numbers of emails === | |||
After adding email accounts with large numbers of emails, in order to avoid long wait while downloading all the emails, it is best to change the account settings - BEFORE clicking on INBOX, which triggers the download/sync - to download the bodies of only the last 30 days of emails. The email headings are always synced but that does not take long. | After adding email accounts with large numbers of emails, in order to avoid long wait while downloading all the emails, it is best to change the account settings - BEFORE clicking on INBOX, which triggers the download/sync - to download the bodies of only the last 30 days of emails. The email headings are always synced but that does not take long. | ||
Line 86: | Line 75: | ||
[[File:thla.jpg]] | [[File:thla.jpg]] | ||
== | ===Configuring Outgoing SMTP Mail Servers=== | ||
By default Thunderbird adds a new smtp profile with each Inbox added. | |||
However you only need two, main and backup. | |||
1. Right click on any Inbox > Settings. | |||
2. Scroll down and click "Outgoing Server (SMTP)". | |||
3. Delete all smtp server profiles except the default and ensure your settings match below screenshot. | |||
[[File:Smtpsettings.png]] | |||
4. Add a new profile with settings in below screenshot. | |||
TODO - setup backup imap2 container and add settings screenshot here. (old imap2 smtp port 2500) | |||
== Add-ons == | ==Add-ons== | ||
[[File: | #Install addons: General settings menu (Top right 3 bars) > Addons | ||
#Search and install the addons in below screenshot. | |||
#Configure Mailbox Alert by Right e.g support inbox > Mailbox Alert: | |||
##Check default sound and message. | |||
[[File:Addon2.png]] | |||
== Other | ==Other General Configurations== | ||
===Configure inbox to display selected columns === | ===Configure inbox to display selected columns=== | ||
The below options MUST be set in Support Inbox. To do so Right click on a column heading and select the below options: | The below options MUST be set in Support Inbox. To do so Right click on a column heading and select the below options: | ||
Line 113: | Line 110: | ||
#Starred | #Starred | ||
#Attachment | #Attachment | ||
# | #Subject | ||
#Correspondents | #Correspondents | ||
#Received: You MUST add column RECEIVED which is the email date received to email inbox because the default Date seems to be the DATE SENT whereas we are primarily interested in the date we received the email. The difference is due to delays in email servers or spam tricks. | #Received: You MUST add column RECEIVED which is the email date received to email inbox because the default Date seems to be the DATE SENT whereas we are primarily interested in the date we received the email. The difference is due to delays in email servers or spam tricks. | ||
Line 121: | Line 118: | ||
#Junk status: Emails will automatically be moved to Junk folder if the junk icon in this column is clicked. Hence remove Junk Status column so that emails are not accidentally moved to junk. To remove, right-click on a column heading and untick "Junk Status". | #Junk status: Emails will automatically be moved to Junk folder if the junk icon in this column is clicked. Hence remove Junk Status column so that emails are not accidentally moved to junk. To remove, right-click on a column heading and untick "Junk Status". | ||
=== Configure Mail Content === | ===Configure Mail Content=== | ||
Settings > Privacy > untick "Allow remote content in messages" | |||
Support MUST set the "Allow remote content in messages" as blocked in Thunderbird without adding any exceptions for any email id. The reason is remote content i.e embedded images, stylesheets etc is a privacy concern as it sends your private information to the mail sender. We do not know the source of these embedded content in emails so cannot trust them as they can be web bugs. | Support MUST set the "Allow remote content in messages" as blocked in Thunderbird without adding any exceptions for any email id. The reason is remote content i.e embedded images, stylesheets etc is a privacy concern as it sends your private information to the mail sender. We do not know the source of these embedded content in emails so cannot trust them as they can be web bugs. | ||
=== Configure Layout View === | ===Configure Layout View=== | ||
Layout view should be set as Vertical view. | Layout view should be set as Vertical view. | ||
=== Thunderbird Preferences === | ===Optimise Titlebar Space=== | ||
Follow below steps to merge the titlebar with the tabs bar to reduce wastage of screen space. | |||
#Go to Settings -> General | |||
#Scroll to the bottom and click "Config Editor..." | |||
#Search for mail.tabs.drawInTitlebar | |||
#Change its value to "true" | |||
===Thunderbird Preferences=== | |||
#Preferences > Display > Advanced > untick " Automatically mark messages as read". | #Preferences > Display > Advanced > untick " Automatically mark messages as read". | ||
#Keep settings as below for Preferences > Security | #Keep settings as below for Preferences > Security. | ||
#Keep settings as below for Preferences > Composition > Spelling. | |||
[[File:Globaljunk.jpg|500px]] | [[File:Globaljunk.jpg|500px]] | ||
=== Configure MailAlert === | [[File:Composition.png|500px]] | ||
===Configure MailAlert=== | |||
Right click Inbox > Mailbox Alert > Edit Mailbox Alert alerts > Select Default message. Set as below. Once set Right click Inbox > Mailbox Alert > check Default message | Right click Inbox > Mailbox Alert > Edit Mailbox Alert alerts > Select Default message. Set as below. Once set Right click Inbox > Mailbox Alert > check Default message | ||
Line 144: | Line 153: | ||
[[file:thsh.jpg]] | [[file:thsh.jpg]] | ||
=== Configure Auto Resize Image === | ===Configure Auto Resize Image=== | ||
Set the preferences for the Auto Resize Image add on as shown in the screenshot at the end of this section. | Set the preferences for the Auto Resize Image add-on as shown in the screenshot at the end of this section. | ||
To handle different scenarios when resizing images in emails, follow the below steps: | To handle different scenarios when resizing images in emails, follow the below steps: | ||
Line 158: | Line 167: | ||
[[File:Resize2.png]] | [[File:Resize2.png]] | ||
=== Applying filter for backup failure emails === | ===Configure Header Tools Lite=== | ||
Set the preferences for the Header Tools Lite add-on as shown in the screenshot below. | |||
[[File:headertoolslite.jpg]] | |||
===Configure Dorando Keyconfig=== | |||
Menu > Add-ons > Edit Keyconfig Preferences > Disable shortcuts for 'Archive' and 'Junk' as shown in the screenshots below. | |||
[[File:Keyconfig1.png]] | |||
[[File:Keyconfig2.png]] | |||
===Getting access to NEOSYS support calendar=== | |||
After confirming that the steps below are successfully done, delete your local personal calendar and make the shared support calendar the default. | |||
In Thunderbird, add a new CalDAV network calendar by navigating to File (Alt+f) -> New -> Calendar. | |||
[[File:Cal1.png]] | |||
Location: https://nextcloud.hosts.neosys.com:44318/remote.php/dav/calendars/support/support_shared_by_steve/ | |||
You will have to enter your nextcloud user and pass. | |||
[[File:Cal2.png]] | |||
[[File:Cal3.png]] | |||
It should show a tick if successful, otherwise you will have to Unsubscribe and try again. | |||
[[File:Cal4.png]] | |||
Change the new calendar properties to Refresh every 5 mins. | |||
[[File:Cal5.png]] | |||
===Applying filter for backup failure emails=== | |||
In order to filter any backup failure emails as Important, go to Tools > Message Filters and create a new filter with settings as shown below: | In order to filter any backup failure emails as Important, go to Tools > Message Filters and create a new filter with settings as shown below: | ||
[[ | Refer to filters list of other staff members. | ||
===Shared Email Tags between Support machines=== | |||
1. Close Thunderbird. | |||
2. Find and open the prefs.js file in your profile directory. Check Thunderbird -> Account Settings -> Server Settings to find the correct directory. | |||
locate ~/snap/thunderbird/common/.thunderbird/ prefs.js | |||
nano ~/snap/thunderbird/common/.thunderbird/w9nakioc.default/prefs.js | |||
3. Search for tags and replace them with the list below. | |||
If adding a new tag and don't know what color code to use, then create the tag in Thunderbird so that you can select a color. Close Thunderbird and edit prefs.js. The new tag will be created with a name and color, replace them with "$label<n>.color" and "$label<n>.tag" as below. Copy the new color and tag lines, to use in next step. | |||
<pre> | |||
user_pref("mailnews.tags.$label1.color", "#FF0000"); | |||
user_pref("mailnews.tags.$label1.tag", "Important"); | |||
user_pref("mailnews.tags.$label2.color", "#FF9900"); | |||
user_pref("mailnews.tags.$label2.tag", "Work"); | |||
user_pref("mailnews.tags.$label3.color", "#009900"); | |||
user_pref("mailnews.tags.$label3.tag", "Joel"); | |||
user_pref("mailnews.tags.$label4.color", "#3333ff"); | |||
user_pref("mailnews.tags.$label4.tag", "Greg"); | |||
user_pref("mailnews.tags.$label5.color", "#993399"); | |||
user_pref("mailnews.tags.$label5.tag", "Arvind"); | |||
user_pref("mailnews.tags.$label6.color", "#ff6e6e"); | |||
user_pref("mailnews.tags.$label6.tag", "Follow up"); | |||
user_pref("mailnews.tags.$label7.color", "#28e2d8"); | |||
user_pref("mailnews.tags.$label7.tag", "Delay support"); | |||
user_pref("mailnews.tags.$label8.color", "#986a44"); | |||
user_pref("mailnews.tags.$label8.tag", "Pending review"); | |||
</pre> | |||
4. Recreate across all Support machines by adding the new lines to the correct prefs.js file. Thunderbird should not be running on any of the machines, as the prefs.js file is overwritten on application exit. | |||
5. Start Thunderbird again. Check that the new tags are available and that tagging an email on one machine reflects on other machines. | |||
==[[Procedures#Email_Retention_Policy| Email Retention Policy]]== | |||
==[[Procedures#Handling_junk.2Fspam_email| Handling junk/spam emails]]== | |||
==Viewing long running processes on Thunderbird== | |||
When setting up and configuring Thunderbird, using its Activity Manager (Tools > Activity Manager) and possibly using the header bar "Always on top" option on the Activity Manager window may be helpful to know what long running processes are being performed. | |||
[[File:Activity manager.jpg]] | |||
==Deleting Thunderbird accounts== | |||
Check the option "Remove Message Data" when removing accounts from Thunderbird. Otherwise, the old messages stay forever taking space on the disk. | |||
[[File:dt2.png]] | |||
Select Remove Message Data option as shown below. | |||
== Clearing out old improperly deleted Thunderbird Accounts == | [[File:dt.png]] | ||
==Clearing out old improperly deleted Thunderbird Accounts== | |||
If you delete Thunderbird accounts without checking the option "Remove Message Data" the old messages stay forever taking space on the disk. | If you delete Thunderbird accounts without checking the option "Remove Message Data" the old messages stay forever taking space on the disk. | ||
Line 178: | Line 274: | ||
ls -l -h /home/*/.thunderbird/*.default/ImapMail/*/INBOX | ls -l -h /home/*/.thunderbird/*.default/ImapMail/*/INBOX | ||
< | <pre> | ||
-rw------- 1 arvind arvind 16M May 25 16:36 /home/arvind/.thunderbird/odi5mrka.default/ImapMail/imap.gmail.com/INBOX | -rw------- 1 arvind arvind 16M May 25 16:36 /home/arvind/.thunderbird/odi5mrka.default/ImapMail/imap.gmail.com/INBOX | ||
Line 187: | Line 283: | ||
-rw------- 1 arvind arvind 13G May 28 14:37 /home/arvind/.thunderbird/odi5mrka.default/ImapMail/imap.neosys.com/INBOX | -rw------- 1 arvind arvind 13G May 28 14:37 /home/arvind/.thunderbird/odi5mrka.default/ImapMail/imap.neosys.com/INBOX | ||
</ | </pre> | ||
Check the dates, which indicate the date of the last message received, to get a rough idea of what accounts are in use and not in use | Check the dates, which indicate the date of the last message received, to get a rough idea of what accounts are in use and not in use | ||
Line 196: | Line 292: | ||
".thunderbird", like all files and folders which start with a dot, is a hidden folder which you can make visible in Nautilus File Manager by pressing Ctrl+h | ".thunderbird", like all files and folders which start with a dot, is a hidden folder which you can make visible in Nautilus File Manager by pressing Ctrl+h | ||
==Troubleshooting Thunderbird== | |||
===High CPU usage when idling=== | |||
If Thunderbird consumes 100+% CPU when there is no activity seen on Thunderbird activity manager (Tools -> Activity Manager), then try the below steps from https://kb.mozillazine.org/Performance_-_Thunderbird : | |||
#Go to Settings -> General | |||
#Scroll to the bottom and click "Config Editor..." | |||
#Search for mail.db.idle_limit | |||
#Change its value to 30000000 (7 zeroes, not 5 zeroes) and save | |||
#Restart Thunderbird | |||
===Emails show wrong body=== | |||
Sometimes emails may not load correctly. Clicking an email will show some other email's body. To fix this: | |||
#Right click the Thunderbird folder that has the issue (e.g. Inbox) | |||
#Properties | |||
#Repair Folder | |||
This will rebuild the folder index that connects email subjects with message bodies. | |||
[[File:Repair_folder.jpg]] |
Latest revision as of 13:51, 6 August 2024
Setting Up the Inbox Accounts
The instructions given below explain how to set up the "Support" account on Thunderbird.
1. Open Mozilla Thunderbird. Choose the "Create a new account" option. Click on "Skip this and use my existing email" option on the "Welcome to Thunderbird" window.
2. In the Mail Account Setup window, enter "support@neosys.com" for Your Name, "support@neosys.com" for Email Address and the password provided by Neosys staff. Click on continue.
3. Click on "Manual Config".
4. Key in "imap.neosys.com" for incoming IMAP host name, server hostname "smtp.neosys.com" and port "587" for outgoing SMTP and "support.neosys" as username. For SMTP, change the SSL to "STARTTLS" and authentication to "No authentication". Click on the "Re-test" button and then click "Done".
BEFORE clicking on inbox and BEFORE adding other inboxes, you MUST refer to Adding email accounts with large numbers of emails. This is because if you add all the accounts together at once, they will all sync together and it will take 1-2 days for the sync to complete.
For backups@neosys.com, support2@neosys.com (Nagios), name.neosys@gmail.com repeat the steps mentioned above, with the below-mentioned replacements.
1. For backups@neosys.com, enter "backups@neosys.com" for Your Name, "backups@neosys.com" for Email address and enter the password provided by Neosys staff. Enter the username as "backups.neosys".
2. For support2@neosys.com, enter "support2@neosys.com" for Your Name, "support2@neosys.com" for Email address and enter the password provided by Neosys staff. Enter the username as "support2.neosys".
3. For name.neosys@gmail.com, enter your full name for Your Name, "name.neosys@gmail.com" for Email address and enter the password. You do not need to follow the steps for manual config as the settings will be automatically configured.
Account Settings
Verify that the account settings for all the accounts are entered as shown below.
For backups@neosys.com account, under "Synchronization and Storage", change the setting to "Delete messages more than 365 days old"
The Synchronisation & Storage settings should be changed to the settings shown below only at a convenient time, since downloading all the emails will take a lot of time for accounts with large number of emails. Also see Adding email accounts with large number of emails
Adding email accounts with large numbers of emails
After adding email accounts with large numbers of emails, in order to avoid long wait while downloading all the emails, it is best to change the account settings - BEFORE clicking on INBOX, which triggers the download/sync - to download the bodies of only the last 30 days of emails. The email headings are always synced but that does not take long.
See Account Settings, Synchronisation and Storage.
Since searching of emails only works when the bodies of emails have been downloaded, if you need to text search all emails, then, at a convenient time, you can remove or increase the number of days in the setting and somehow trigger the full sync.
Configuring Outgoing SMTP Mail Servers
By default Thunderbird adds a new smtp profile with each Inbox added.
However you only need two, main and backup.
1. Right click on any Inbox > Settings.
2. Scroll down and click "Outgoing Server (SMTP)".
3. Delete all smtp server profiles except the default and ensure your settings match below screenshot.
4. Add a new profile with settings in below screenshot.
TODO - setup backup imap2 container and add settings screenshot here. (old imap2 smtp port 2500)
Add-ons
- Install addons: General settings menu (Top right 3 bars) > Addons
- Search and install the addons in below screenshot.
- Configure Mailbox Alert by Right e.g support inbox > Mailbox Alert:
- Check default sound and message.
Other General Configurations
Configure inbox to display selected columns
The below options MUST be set in Support Inbox. To do so Right click on a column heading and select the below options:
- Thread
- Starred
- Attachment
- Subject
- Correspondents
- Received: You MUST add column RECEIVED which is the email date received to email inbox because the default Date seems to be the DATE SENT whereas we are primarily interested in the date we received the email. The difference is due to delays in email servers or spam tricks.
The below options MUST NOT be set in Support Inbox
- Junk status: Emails will automatically be moved to Junk folder if the junk icon in this column is clicked. Hence remove Junk Status column so that emails are not accidentally moved to junk. To remove, right-click on a column heading and untick "Junk Status".
Configure Mail Content
Settings > Privacy > untick "Allow remote content in messages"
Support MUST set the "Allow remote content in messages" as blocked in Thunderbird without adding any exceptions for any email id. The reason is remote content i.e embedded images, stylesheets etc is a privacy concern as it sends your private information to the mail sender. We do not know the source of these embedded content in emails so cannot trust them as they can be web bugs.
Configure Layout View
Layout view should be set as Vertical view.
Optimise Titlebar Space
Follow below steps to merge the titlebar with the tabs bar to reduce wastage of screen space.
- Go to Settings -> General
- Scroll to the bottom and click "Config Editor..."
- Search for mail.tabs.drawInTitlebar
- Change its value to "true"
Thunderbird Preferences
- Preferences > Display > Advanced > untick " Automatically mark messages as read".
- Keep settings as below for Preferences > Security.
- Keep settings as below for Preferences > Composition > Spelling.
Configure MailAlert
Right click Inbox > Mailbox Alert > Edit Mailbox Alert alerts > Select Default message. Set as below. Once set Right click Inbox > Mailbox Alert > check Default message
Configure Auto Resize Image
Set the preferences for the Auto Resize Image add-on as shown in the screenshot at the end of this section.
To handle different scenarios when resizing images in emails, follow the below steps:
- Resize all images in the email: Click "Send" followed by "Confirm" on the Auto resize screen.
- Skip resize all images in the email: Click "Send" followed by "Cancel Resizing" on the Auto resize screen.
- Resize Images only in the email trail and skip resizing new images: Click "Resize" on top of your screen and proceed with writing the email/adding new images. When ready to send the email, follow above step for skipping resize all images in the email.
Configure Header Tools Lite
Set the preferences for the Header Tools Lite add-on as shown in the screenshot below.
Configure Dorando Keyconfig
Menu > Add-ons > Edit Keyconfig Preferences > Disable shortcuts for 'Archive' and 'Junk' as shown in the screenshots below.
Getting access to NEOSYS support calendar
After confirming that the steps below are successfully done, delete your local personal calendar and make the shared support calendar the default.
In Thunderbird, add a new CalDAV network calendar by navigating to File (Alt+f) -> New -> Calendar.
Location: https://nextcloud.hosts.neosys.com:44318/remote.php/dav/calendars/support/support_shared_by_steve/
You will have to enter your nextcloud user and pass.
It should show a tick if successful, otherwise you will have to Unsubscribe and try again.
Change the new calendar properties to Refresh every 5 mins.
Applying filter for backup failure emails
In order to filter any backup failure emails as Important, go to Tools > Message Filters and create a new filter with settings as shown below:
Refer to filters list of other staff members.
1. Close Thunderbird.
2. Find and open the prefs.js file in your profile directory. Check Thunderbird -> Account Settings -> Server Settings to find the correct directory.
locate ~/snap/thunderbird/common/.thunderbird/ prefs.js
nano ~/snap/thunderbird/common/.thunderbird/w9nakioc.default/prefs.js
3. Search for tags and replace them with the list below.
If adding a new tag and don't know what color code to use, then create the tag in Thunderbird so that you can select a color. Close Thunderbird and edit prefs.js. The new tag will be created with a name and color, replace them with "$label<n>.color" and "$label<n>.tag" as below. Copy the new color and tag lines, to use in next step.
user_pref("mailnews.tags.$label1.color", "#FF0000"); user_pref("mailnews.tags.$label1.tag", "Important"); user_pref("mailnews.tags.$label2.color", "#FF9900"); user_pref("mailnews.tags.$label2.tag", "Work"); user_pref("mailnews.tags.$label3.color", "#009900"); user_pref("mailnews.tags.$label3.tag", "Joel"); user_pref("mailnews.tags.$label4.color", "#3333ff"); user_pref("mailnews.tags.$label4.tag", "Greg"); user_pref("mailnews.tags.$label5.color", "#993399"); user_pref("mailnews.tags.$label5.tag", "Arvind"); user_pref("mailnews.tags.$label6.color", "#ff6e6e"); user_pref("mailnews.tags.$label6.tag", "Follow up"); user_pref("mailnews.tags.$label7.color", "#28e2d8"); user_pref("mailnews.tags.$label7.tag", "Delay support"); user_pref("mailnews.tags.$label8.color", "#986a44"); user_pref("mailnews.tags.$label8.tag", "Pending review");
4. Recreate across all Support machines by adding the new lines to the correct prefs.js file. Thunderbird should not be running on any of the machines, as the prefs.js file is overwritten on application exit.
5. Start Thunderbird again. Check that the new tags are available and that tagging an email on one machine reflects on other machines.
Email Retention Policy
Handling junk/spam emails
Viewing long running processes on Thunderbird
When setting up and configuring Thunderbird, using its Activity Manager (Tools > Activity Manager) and possibly using the header bar "Always on top" option on the Activity Manager window may be helpful to know what long running processes are being performed.
Deleting Thunderbird accounts
Check the option "Remove Message Data" when removing accounts from Thunderbird. Otherwise, the old messages stay forever taking space on the disk.
Select Remove Message Data option as shown below.
Clearing out old improperly deleted Thunderbird Accounts
If you delete Thunderbird accounts without checking the option "Remove Message Data" the old messages stay forever taking space on the disk.
To locate any such unnecessary files
ls -l -h /home/*/.thunderbird/*.default/ImapMail/*/INBOX
-rw------- 1 arvind arvind 16M May 25 16:36 /home/arvind/.thunderbird/odi5mrka.default/ImapMail/imap.gmail.com/INBOX -rw------- 1 arvind arvind 668M Mar 29 08:54 /home/arvind/.thunderbird/odi5mrka.default/ImapMail/imap.neosys-1.com/INBOX -rw------- 1 arvind arvind 242M May 28 14:45 /home/arvind/.thunderbird/odi5mrka.default/ImapMail/imap.neosys-2.com/INBOX -rw------- 1 arvind arvind 755M May 25 12:39 /home/arvind/.thunderbird/odi5mrka.default/ImapMail/imap.neosys-3.com/INBOX -rw------- 1 arvind arvind 420M Apr 24 10:27 /home/arvind/.thunderbird/odi5mrka.default/ImapMail/imap.neosys-4.com/INBOX -rw------- 1 arvind arvind 13G May 28 14:37 /home/arvind/.thunderbird/odi5mrka.default/ImapMail/imap.neosys.com/INBOX
Check the dates, which indicate the date of the last message received, to get a rough idea of what accounts are in use and not in use
Check which of the folders are currently in use by looking in Thunderbird settings for each account one by one, "Server Settings", "Local Directory"
Delete the folders and files which are not in use using whatever method you like.
".thunderbird", like all files and folders which start with a dot, is a hidden folder which you can make visible in Nautilus File Manager by pressing Ctrl+h
Troubleshooting Thunderbird
High CPU usage when idling
If Thunderbird consumes 100+% CPU when there is no activity seen on Thunderbird activity manager (Tools -> Activity Manager), then try the below steps from https://kb.mozillazine.org/Performance_-_Thunderbird :
- Go to Settings -> General
- Scroll to the bottom and click "Config Editor..."
- Search for mail.db.idle_limit
- Change its value to 30000000 (7 zeroes, not 5 zeroes) and save
- Restart Thunderbird
Emails show wrong body
Sometimes emails may not load correctly. Clicking an email will show some other email's body. To fix this:
- Right click the Thunderbird folder that has the issue (e.g. Inbox)
- Properties
- Repair Folder
This will rebuild the folder index that connects email subjects with message bodies.