{"id":380,"date":"2008-04-02T19:31:07","date_gmt":"2008-04-03T00:31:07","guid":{"rendered":"http:\/\/www.mccambridge.org\/blog\/2008\/04\/howto-load-mail-archives-into-gmail-with-correct-dates\/"},"modified":"2022-09-11T00:40:39","modified_gmt":"2022-09-11T00:40:39","slug":"howto-load-mail-archives-into-gmail-with-correct-dates","status":"publish","type":"post","link":"http:\/\/www.mccambridge.org\/blog\/2008\/04\/howto-load-mail-archives-into-gmail-with-correct-dates\/","title":{"rendered":"HowTo: Load Mail Archives into GMail with Correct Dates"},"content":{"rendered":"

Another quick Google service related HowTo, as I just spent several days working on the task of uploading all my old mail into my Gmail account.<\/p>\n

The Problem: Load your old mail archives into GMail, and keep the correct dates!<\/em><\/h4>\n

So say you’ve used various mail programs over the years, or change computers a lot, or for whatever reason have a large body of email sitting on your machine that you would like to upload to GMail. After doing a bit of webcrawling, you may have come across solutions such as the GMail Loader<\/a>. However, I found that getting GMail Loader to work was painful, and even when it did, uploading my email turned into a huge mess<\/a>, where all<\/em> the emails seemed to have been sent on the day I did the uploading. They were all there, and searchable, but very annoying. There must be something better.<\/p>\n

The Solution: Copy<\/em> mail using Thunderbird and IMAP<\/h4>\n

Fixing this problem is actually really easy. Using GMail’s relatively new IMAP feature<\/a> and the Thunderbird mail client<\/a> (others likely work as well, I have not tested), it’s a a few easy clicks. Basically, just copy all your old email up there, and viola!<\/p>\n

    \n
  1. To start, you need to get your mail archives accessible in Thunderbird<\/a>. There’s lots of information<\/a> out there about converting mailbox types and importing from one program to another; I will assume you have gotten that far.<\/li>\n
  2. Enable IMAP access on your GMail account, by logging into GMail, clicking on Settings<\/em> in the upper right corner, changing to the “Forwarding and POP\/IMAP” tab, and clicking on “Enable IMAP” near the bottom.<\/li>\n
  3. While you’re here, check out the “Configuration Instructions” link, to get a leg up on the next step.<\/li>\n
  4. Now, add your GMail IMAP account to Thunderbird, using the Tools->Account Settings…->Add Account wizard. Note:<\/strong> in this wizard, add your GMail account as an Email Account<\/strong>, NOT as a GMail account, because we need to specify the IMAP settings, rather than use Thunderbird’s default POP access.\n

    The IMAP settings you need may differ depending on your account, but mine are:<\/p>\n

    \n
    Server Type:<\/dt>\n
    IMAP Mail Server<\/dd>\n
    Server Name:<\/dt>\n
    imap.google.com<\/dd>\n
    User Name:<\/dt>\n
    full_email_address@gmail.com (or full_email_address@hosted_domain.com)<\/dd>\n
    Use Secure connection:<\/dt>\n
    SSL (Note: this changes the port to 993, which is correct.)<\/em><\/dd>\n<\/dl>\n<\/li>\n
  5. Now, click on the Inbox folder of your GMail account in Thunderbird to make sure your connection is working. This will likely prompt you for your password as well, and will load the full list of folders on your GMail account. Note that GMail presents a folder for each Label you define in the web interface.<\/li>\n
  6. \n

    To copy email to GMail, all that is left is to select the original messages in Thunderbird, right-click, and pick “Copy To”. Under the menu, choose your GMail account, and then which folder (think: label) you want to copy to.<\/p>\n

    For instance, to drop all the email in your Inbox, use the Inbox. If you’d rather label everything and bypass the Inbox, pick a different folder. For me, I created a label (you can do this by creating a folder in Thunderbird) for the email address I was moving mail from<\/em> (blah@oldaddress.com). Then I did “Copy To -> me@gmail.com -> blah@oldaddress.com”.<\/p>\n

    For Sent Mail<\/strong> you can get these to show up in your Sent folder on GMail by copying them to the special [Gmail]->Sent Mail folder. Another useful special folder is the [Gmail]->All Mail folder, where you can copy messages that you do not want in your Inbox, but also do not necessarily want any other tag on.<\/p>\n<\/li>\n

  7. Give Thunderbird some time to process (you’ll see progress messages in the status bar), and you’re done!<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"

    Another quick Google service related HowTo, as I just spent several days working on the task of uploading all my old mail into my Gmail account. The Problem: Load your old mail archives into GMail, and keep the correct dates! So say you’ve used various mail programs over the years, or change computers a lot, […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,30],"tags":[],"_links":{"self":[{"href":"http:\/\/www.mccambridge.org\/blog\/wp-json\/wp\/v2\/posts\/380"}],"collection":[{"href":"http:\/\/www.mccambridge.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.mccambridge.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.mccambridge.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.mccambridge.org\/blog\/wp-json\/wp\/v2\/comments?post=380"}],"version-history":[{"count":1,"href":"http:\/\/www.mccambridge.org\/blog\/wp-json\/wp\/v2\/posts\/380\/revisions"}],"predecessor-version":[{"id":1589,"href":"http:\/\/www.mccambridge.org\/blog\/wp-json\/wp\/v2\/posts\/380\/revisions\/1589"}],"wp:attachment":[{"href":"http:\/\/www.mccambridge.org\/blog\/wp-json\/wp\/v2\/media?parent=380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.mccambridge.org\/blog\/wp-json\/wp\/v2\/categories?post=380"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.mccambridge.org\/blog\/wp-json\/wp\/v2\/tags?post=380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}