Software⏱️ 4 min read📅 2026-06-11

How to Fix: How to get rid of Thunderbird error "[NONEXISTENT] Unknown Mailbox: Trash"

Thunderbird error fix for Unknown Mailbox: Trash

Quick Answer: Create folders in Gmail accounts called [Imap]/Trash and [Imap]/Sent to resolve the issue.

Thunderbird error '[NONEXISTENT] Unknown Mailbox: Trash' occurs when Thunderbird's IMAP account is unable to connect to Gmail's mail server, causing it to display an unknown mailbox for 'Trash'. This issue affects users who have enabled IMAP syncing with their Gmail accounts in Thunderbird. The error can be frustrating as it prevents the user from accessing their emails and causes unnecessary errors.

The primary cause of this error is likely due to the Gmail account's configuration or the way Thunderbird is set up for IMAP syncing. Another possible reason could be a misconfiguration of the Gmail account's labels, which are used by Thunderbird to manage the Trash and Sent folders.

🛑 Root Causes of the Error

  • The primary cause of this error is due to the Gmail account's configuration or the way Thunderbird is set up for IMAP syncing. Specifically, the issue may arise from one or more of the following: (1) The Gmail account's labels are not properly configured for IMAP syncing; (2) The Gmail account's settings are causing Thunderbird to connect to an incorrect mail server; or (3) There is a misconfiguration of the Gmail account's Trash and Sent folders, leading to the unknown mailbox error.
  • Another possible cause could be related to how Thunderbird handles labels in the Gmail account. If the 'Sent Items' label is not properly configured, it may cause additional errors when trying to access the Trash folder.

✅ Best Solutions to Fix It

Configuring Gmail Account Labels for IMAP Syncing

  1. Step 1: Open Thunderbird and select the Gmail account that is experiencing the error. Go to the 'Account Settings' section and click on the 'Edit' button next to the 'IMAP Server' settings.
  2. Step 2: In the 'Edit IMAP Server' window, ensure that the 'Use labels for folders' option is checked. This will allow Thunderbird to use Gmail's labels to manage the Trash and Sent folders.
  3. Step 3: Create a new folder in your Gmail account called '[Imap]/Trash' and label it as such. Repeat this process for the 'Sent Items' label, creating a new folder labeled '[Imap]/Sent'.
  4. Step 4: Save the changes to the IMAP server settings and restart Thunderbird. This should resolve the unknown mailbox error and allow you to access your emails without issues.

Resetting Gmail Account Settings for IMAP Syncing

  1. Step 1: Open the Gmail account's settings page in a web browser and navigate to the 'Forwarding and POP/IMAP' tab.
  2. Step 2: Ensure that the 'Use IMAP' option is checked. If it is not, check the box and save the changes.
  3. Step 3: In the 'IMAP Access' section, ensure that the 'Allow IMAP access' option is enabled. If it is not, enable it and save the changes.
  4. Step 4: Save the changes to the Gmail account settings and restart Thunderbird. This should resolve any issues related to the unknown mailbox error.

✨ Wrapping Up

To resolve the Thunderbird error '[NONEXISTENT] Unknown Mailbox: Trash', try configuring your Gmail account labels for IMAP syncing or resetting your Gmail account settings for IMAP access. By following these steps, you should be able to access your emails without issues and avoid this error.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions