{"id":1382,"date":"2024-01-29T20:14:27","date_gmt":"2024-01-30T02:14:27","guid":{"rendered":"https:\/\/www.nathanhunstad.com\/blog\/?p=1382"},"modified":"2024-01-29T20:14:28","modified_gmt":"2024-01-30T02:14:28","slug":"avoid-this-deletion-gotcha-when-using-thunderbird-with-google-mail","status":"publish","type":"post","link":"https:\/\/www.nathanhunstad.com\/blog\/2024\/01\/avoid-this-deletion-gotcha-when-using-thunderbird-with-google-mail\/","title":{"rendered":"Avoid this deletion gotcha when using Thunderbird with Google Mail"},"content":{"rendered":"\n<p>I&#8217;ve been using Thunderbird to manage my Google Mail account for years, but only recently did I discover that the recommended settings weren&#8217;t doing what I intended when it comes to deleting items. The TL;DR for this post is the following:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>If you use Google&#8217;s suggested IMAP configuration for Thunderbird to &#8220;Just mark it as deleted&#8221; for deleted items, they will be <strong>archived<\/strong>, not deleted<\/li>\n\n\n\n<li>The same goes for &#8220;Remove it immediately&#8221;.<\/li>\n\n\n\n<li>If you want to actually delete items from your Google Mail account, use the &#8220;Move it to this folder&#8221; option and select your Google Mail trash.<\/li>\n<\/ol>\n\n\n\n<p>If you want to see the details, read on&#8230;<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>First, why would somebody want to use <a href=\"https:\/\/www.thunderbird.net\/en-US\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Mozilla Thunderbird<\/a> as a client to their Google Mail account? I primarily use it for archiving all of my mail, and also managing messages more easily than the web interface that Gmail has when I want to clean things up.<\/p>\n\n\n\n<p>Everybody should have a backup solution for the data they have in SaaS tools if you truly care about it. Google has some <a href=\"https:\/\/support.google.com\/mail\/answer\/10016932?hl=en\" target=\"_blank\" rel=\"noopener\" title=\"\">good documentation<\/a> on how to do this quickly using Google Takeout. There are some limitations to Takeout, however: it takes time to run (hours to days), it takes up space on your Google Drive at least temporarily, and every time you export, you essentially get all of your data all over again: there is no concept of a differential backup, downloading only new things since the last backup. So that also takes a ton of time.<\/p>\n\n\n\n<p>By using Thunderbird to back up your data, you have much more control over how often you back up data, and where you put it. Plus, since it only grabs new things since you last backed up, it typically takes much less time. Both <a href=\"https:\/\/support.mozilla.org\/en-US\/kb\/thunderbird-and-gmail\" target=\"_blank\" rel=\"noopener\" title=\"\">Mozilla<\/a> and <a href=\"https:\/\/support.google.com\/mail\/answer\/78892?hl=en#zippy=%2Cthunderbird\" target=\"_blank\" rel=\"noopener\" title=\"\">Google<\/a> have instructions on how to configure Thunderbird with Google Mail, but there are a few caveats that I discovered.<\/p>\n\n\n\n<p>First, the easy stuff:<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<ol class=\"wp-block-list\">\n<li>You can select which tags you want to sync by either turning off those tags in the Google Mail label settings (figure 1 below), or by checking\/unchecking the folders on the &#8220;Synchronization &amp; Storage&#8221; page in Thunderbird Account Settings by clicking on Advanced (figure 2 below).<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"372\" src=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-1024x372.png\" alt=\"Google Mail label settings\" class=\"wp-image-1383\" srcset=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-1024x372.png 1024w, https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-300x109.png 300w, https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-768x279.png 768w, https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image.png 1253w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Fig. 1: Google Mail Settings<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"517\" height=\"129\" src=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-1.png\" alt=\"Advanced message synchronizing setup\" class=\"wp-image-1384\" srcset=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-1.png 517w, https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-1-300x75.png 300w\" sizes=\"auto, (max-width: 517px) 100vw, 517px\" \/><\/a><figcaption class=\"wp-element-caption\">Fig. 2: Advanced Message Synchronizing<\/figcaption><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>The main thing you want to sync is All Mail, since that has everything. There&#8217;s no need to sync the Sent Items label since those are in All Mail already, just with a Sent label. If you choose to sync a label explicitly, you&#8217;ll get multiple copies of a message depending on how many labels it has. However, syncing labels as folders is really the only way to get that label info into Thunderbird, so you can decide whether you just want the messages themselves, or you&#8217;d like to keep things organized with labels at the cost of storage.<\/li>\n\n\n\n<li>If you don&#8217;t want email bodies stored locally, like your Trash, you can right-click on the folder in Thunderbird, go to Synchronization, and uncheck &#8220;Select this folder for offline use&#8221; under Synchronization as shown below. Obviously, leave this checked for email you want to back up!<\/li>\n<\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"490\" height=\"179\" src=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-2.png\" alt=\"Offline use setting\" class=\"wp-image-1385\" srcset=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-2.png 490w, https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-2-300x110.png 300w\" sizes=\"auto, (max-width: 490px) 100vw, 490px\" \/><\/a><figcaption class=\"wp-element-caption\">Fig. 3: Offline use setting<\/figcaption><\/figure>\n\n\n\n<p>So far, this is pretty standard configuration information. Where it gets a bit tricky is configuring how deleted items are handled. This is especially important if you are using Thunderbird to clean out your email account, such as when you are reaching your mailbox size limit and you want to delete things you no longer need. Thunderbird can work pretty well for this, but only if you configure it correctly, which is NOT the way Google tells you to do it.<\/p>\n\n\n\n<p>First, let&#8217;s take a look at how Google suggests configuring Thunderbird for deleted mail:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"574\" height=\"183\" src=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-3.png\" alt=\"Google-suggested settings for Thunderbird\" class=\"wp-image-1386\" srcset=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-3.png 574w, https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-3-300x96.png 300w\" sizes=\"auto, (max-width: 574px) 100vw, 574px\" \/><\/a><figcaption class=\"wp-element-caption\">Fig. 4: Google-suggested settings<\/figcaption><\/figure>\n\n\n\n<p>That seems reasonable enough: when you delete a message, just mark it as deleted. This is how it looks when you do just that: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-4.png\"><img loading=\"lazy\" decoding=\"async\" width=\"213\" height=\"24\" src=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-4.png\" alt=\"Testing the deleted option\" class=\"wp-image-1387\"\/><\/a><figcaption class=\"wp-element-caption\">Fig. 5: Testing the mark deleted option<\/figcaption><\/figure>\n\n\n\n<p>But how does Google implement that? Surprisingly, not by moving it to trash or removing it entirely, but by <strong>archiving it to All Mail<\/strong>. So it&#8217;s not deleted at all, and it&#8217;s still taking up space in your account!<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"467\" height=\"33\" src=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-5.png\" alt=\"\" class=\"wp-image-1388\" srcset=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-5.png 467w, https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-5-300x21.png 300w\" sizes=\"auto, (max-width: 467px) 100vw, 467px\" \/><\/a><figcaption class=\"wp-element-caption\">Fig. 6: &#8220;Deleted&#8221; message still in All Mail<\/figcaption><\/figure>\n\n\n\n<p>It took me a long time to realize that when I thought I was deleting messages, I was just archiving them. What a waste of time when I really and truly wanted to delete them!<\/p>\n\n\n\n<p>The solution then is to change the configuration in Thunderbird to &#8220;Move it to this folder: Trash on XXXXX&#8221; instead of &#8220;Just mark it as deleted&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-6.png\"><img loading=\"lazy\" decoding=\"async\" width=\"288\" height=\"127\" src=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-6.png\" alt=\"Move the deleted item to the trash folder\" class=\"wp-image-1389\"\/><\/a><figcaption class=\"wp-element-caption\">Fig. 7: Move it to Trash instead<\/figcaption><\/figure>\n\n\n\n<p>When this option is selected, any item you delete is moved to the Trash as expected, where it will be cleaned out after 30 days:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-7.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"58\" src=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-7-1024x58.png\" alt=\"Moved to trash successfully\" class=\"wp-image-1390\" srcset=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-7-1024x58.png 1024w, https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-7-300x17.png 300w, https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-7-768x43.png 768w, https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-7.png 1291w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Fig. 8: Moved to Trash successfully<\/figcaption><\/figure>\n\n\n\n<p>What about &#8220;Remove it immediately&#8221;? Confusingly, it also archives it to All Mail, archiving it instead of deleting it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-8.png\"><img loading=\"lazy\" decoding=\"async\" width=\"509\" height=\"37\" src=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-8.png\" alt=\"Remove immediately also just archives in All Mail\" class=\"wp-image-1391\" srcset=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-8.png 509w, https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2024\/01\/image-8-300x22.png 300w\" sizes=\"auto, (max-width: 509px) 100vw, 509px\" \/><\/a><figcaption class=\"wp-element-caption\">Fig. 9: &#8220;Remove immediately&#8221; also just archives to All Mail<\/figcaption><\/figure>\n\n\n\n<p>Lesson learned: if you want things you delete in Thunderbird to be deleted in Google Mail, move it to Trash, don&#8217;t follow Google&#8217;s instructions.<\/p>\n\n\n\n<p>With this information, I hope you can take back your account and manage it easily using Thunderbird.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using Thunderbird to manage your Google Mail account can work well, but if you truly want to delete email using Thunderbird, make sure you configure it correctly.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[19],"tags":[302],"class_list":["post-1382","post","type-post","status-publish","format-standard","hentry","category-tech-2","tag-email","entry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/posts\/1382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/comments?post=1382"}],"version-history":[{"count":2,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/posts\/1382\/revisions"}],"predecessor-version":[{"id":1393,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/posts\/1382\/revisions\/1393"}],"wp:attachment":[{"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/media?parent=1382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/categories?post=1382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/tags?post=1382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}