{"id":740,"date":"2017-01-05T20:25:33","date_gmt":"2017-01-06T03:25:33","guid":{"rendered":"http:\/\/www.jacksonleung.com\/blog\/?p=740"},"modified":"2017-01-05T20:25:33","modified_gmt":"2017-01-06T03:25:33","slug":"how-i-cleaned-more-than-8000-thousand-emails-from-my-mail-box","status":"publish","type":"post","link":"http:\/\/www.jacksonleung.com\/blog\/how-i-cleaned-more-than-8000-thousand-emails-from-my-mail-box\/","title":{"rendered":"How I cleaned more than 8,000 thousand emails from my mail box"},"content":{"rendered":"<p>Long long time ago, briefly after the birth of gmail, I created an email account, and mail was good. Fast forward to now, holy spams. Years and more than a decade of neglect, I&#8217;ve managed to amass more than 11,000 emails, and this is post spam filter. I guess over the years, I must&#8217;ve signed up for every single notification and newsletter out there. Each them I delete an email, and unsubscribe from a list, another newsletter shows up, and I&#8217;d think that I must&#8217;ve unsubscribed already, but I&#8217;m not too sure anymore. All I knew was that my inbox was looking like this:<\/p>\n<p id=\"GATtxJH\"><img loading=\"lazy\" decoding=\"async\" width=\"193\" height=\"214\" class=\"alignnone size-full wp-image-742 \" src=\"http:\/\/www.jacksonleung.com\/blog\/wp-content\/uploads\/2017\/01\/img_586f0b852844b.png\" alt=\"\" \/><\/p>\n<p>I&#8217;d stare at that number every day, thinking &#8220;Someday, I&#8217;ll clean it, but today is not to the day&#8230;&#8221;<\/p>\n<p>The idea of going through my mail one by one, and then checking to see if the sender was a bulk sender or not, and then unsubscribing from it, just seems like such a time consuming task. Then I start noticing that in the midst of the spam, here and there, there were some important emails I&#8217;m starting to miss. That was the spark that lit my fire to put an end to this spam once and for all.<\/p>\n<p>Using my computer programming powers, I created a program to go through my mail, and build a list of senders I receive emails from, and the amount of emails I have from them:<\/p>\n<p id=\"mEsJJXX\"><img loading=\"lazy\" decoding=\"async\" width=\"526\" height=\"90\" class=\"alignnone size-full wp-image-743 \" src=\"http:\/\/www.jacksonleung.com\/blog\/wp-content\/uploads\/2017\/01\/img_586f0c8c2d816.png\" alt=\"\" srcset=\"http:\/\/www.jacksonleung.com\/blog\/wp-content\/uploads\/2017\/01\/img_586f0c8c2d816.png 526w, http:\/\/www.jacksonleung.com\/blog\/wp-content\/uploads\/2017\/01\/img_586f0c8c2d816-300x51.png 300w\" sizes=\"auto, (max-width: 526px) 100vw, 526px\" \/><\/p>\n<p>thousands upon thousands of emails later<\/p>\n<p id=\"tmOVFAI\"><img loading=\"lazy\" decoding=\"async\" width=\"405\" height=\"146\" class=\"alignnone size-full wp-image-744 \" src=\"http:\/\/www.jacksonleung.com\/blog\/wp-content\/uploads\/2017\/01\/img_586f0cc46c0d6.png\" alt=\"\" srcset=\"http:\/\/www.jacksonleung.com\/blog\/wp-content\/uploads\/2017\/01\/img_586f0cc46c0d6.png 405w, http:\/\/www.jacksonleung.com\/blog\/wp-content\/uploads\/2017\/01\/img_586f0cc46c0d6-300x108.png 300w\" sizes=\"auto, (max-width: 405px) 100vw, 405px\" \/><\/p>\n<p>I&#8217;ve built a list of emails and their frequencies, and life was good, but I knew I can do better.<\/p>\n<p>I took it a step further, and built another list based on the domain of the sender.<\/p>\n<p id=\"sqZmZGT\"><img loading=\"lazy\" decoding=\"async\" width=\"357\" height=\"166\" class=\"alignnone size-full wp-image-745 \" src=\"http:\/\/www.jacksonleung.com\/blog\/wp-content\/uploads\/2017\/01\/img_586f0d30d1bbe.png\" alt=\"\" srcset=\"http:\/\/www.jacksonleung.com\/blog\/wp-content\/uploads\/2017\/01\/img_586f0d30d1bbe.png 357w, http:\/\/www.jacksonleung.com\/blog\/wp-content\/uploads\/2017\/01\/img_586f0d30d1bbe-300x139.png 300w\" sizes=\"auto, (max-width: 357px) 100vw, 357px\" \/><\/p>\n<p>Utilizing these two newly crafted weapons in my arsenal, I blew away thousands upon thousands of emails, some of which were spam, some of which were transaction emails that no longer have any importance. Once the non-important emails have been unsubscribed from and removed, it was so much easier to deal and organize my old emails. Once that noise was removed, it was so much easier to deal with my new emails. Now, my emails look like this<\/p>\n<p id=\"kYmILIo\"><img loading=\"lazy\" decoding=\"async\" width=\"185\" height=\"188\" class=\"alignnone size-full wp-image-746 \" src=\"http:\/\/www.jacksonleung.com\/blog\/wp-content\/uploads\/2017\/01\/img_586f0e15b1be1.png\" alt=\"\" \/><\/p>\n<p>And life&#8230; was good.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Long long time ago, briefly after the birth of gmail, I created an email account, and mail was good. Fast forward to now, holy spams. Years and more than a decade of neglect, I&#8217;ve managed to amass more than 11,000 emails, and this is post spam filter. I guess over the years, I must&#8217;ve signed &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.jacksonleung.com\/blog\/how-i-cleaned-more-than-8000-thousand-emails-from-my-mail-box\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How I cleaned more than 8,000 thousand emails from my mail box&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-740","post","type-post","status-publish","format-standard","hentry","category-programming","entry"],"_links":{"self":[{"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/posts\/740","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/comments?post=740"}],"version-history":[{"count":1,"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/posts\/740\/revisions"}],"predecessor-version":[{"id":747,"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/posts\/740\/revisions\/747"}],"wp:attachment":[{"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/media?parent=740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/categories?post=740"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/tags?post=740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}