Categories
Tech Notes

Back to Gmail: Migrating emails from Google Apps mail to Gmail

It is a common scenario for people to migrate their Gmail accounts to Apps mail accounts. There are more than many how-to guides and tutorials covering this direction of the migration. But how about the opposite.

There are many obvious reasons for someone to migrate (back) to Gmail from a Google Apps mail account. Google Apps mail is used by many organisations, schools, etc. Thus, when we leave from that organisation, it becomes a necessity to migrate all our emails elsewhere.
Google Apps mail to Gmail
So lets jump into this quick tutorial on how to migrate all emails from Google Apps mail to Gmail. There are few other mechanisms suggested across the internet, but the one that works smoothly is using “imapsync”.

“imapsync” software is a command line tool allowing incremental and recursive IMAP transfers from one mailbox to another. It is useful for Gmail account migration or account backups.

IMPORTANT NOTE:

  • imapsync” was a free tool, but now the author is charging almost $45 for a copy. It is affordable for commercial use, but for personal use the price is an overkill.
  • The earlier versions of this software can be found on the internet and still be used without copyright violations. (DOWNLOAD the earlier version for FREE).
  • This guide is based on a Windows installation. The use can be easily adapted to Linux and other platforms as we will be compiling from the Perl source code and running the software. (Those who are on Linux, you could simply follow the install instructions with the download file).

Step 1: Install Perl

  1. Download and install “Strawberry Perl”. (Install to the default install location).
  2. Double-click and Run the “update_env.pl” batch file to add the environment variables.

Step 2: Setup the Prerequisites

  1. Open “CPAN Client” under Start Menu -> Programs -> Strawberry Perl -> Tools.
  2. Run the following commands individually:
    • install Mail::IMAPClient
    • install Digest::MD5
    • install Term::ReadKey
    • install IO::Socket::SSL
    • If this presents a warning with “Net::SSLeay could not find a random number generator” and “Do you REALLY want to continue? [Default: no]“, give “yes” and continue.
  3. install Date::Manip
  4. install File::Spec
  5. install Digest::HMAC_MD5
  6. install PAR::Packer
  7. At this point you should be all set with the Perl setup and the following command should not give any errors.
    • perl -mMail::IMAPClient -mDigest::MD5 -mTerm::ReadKey -mIO::Socket::SSL -mDate::Manip -mFile::Spec -mDigest::HMAC_MD5 -e ”

Step 3: Install ‘imapsync’

  1. Download the earlier version of ‘imapsync’ for free from here (or buy the latest version from here).
  2. Extract the downloaded file, if you can’t extract a tar.gz, use 7-Zip.
  3. Open the “build_exe” batch file in a Notepad and change the folder path to the extracted folder.
  4. Run the “build_exe” batch file.
  5. This should have created a “imapsync.exe”.

Step 4: Using ‘imapsync’

  1. Open “Command Prompt”.
  2. Change directory to the ‘imapsync’ folder.
  3. The basic ‘imapsync’ command is,
    • imapsync --host1 mail.oldserver.com --user1 theoden ^
      --host2 mail.newserver.com --user2 'theoden@newserver.com'
  4. For Gmail, change the following command with your Apps mail login and Gmail login details.
    • imapsync ^
      --host1 imap.gmail.com --port1 993 --ssl1 --authmech1 LOGIN ^
      --user1 theuser@oldmail.com --password1 password4user1 ^
      --host2 imap.gmail.com --port1 993 --ssl2 --authmech2 LOGIN ^
      --user2 newuserid@gmail.com --password2 password4gmail ^
      --split1 100 --split2 100 ^
      --reconnectretry1 30 --reconnectretry2 30 ^
      --noauthmd5 --noreleasecheck ^
      --timeout 1200  --allowsizemismatch
  5. Paste the modified command into the Command Prompt, ‘imapsync‘ should sync you mail accounts accordingly.
  6. It could take, hours (or days) to complete the sync, based on your internet connection speed and the amount of email in your mailboxes.
  7. For more ‘imapsync’ command reference run,
    • imapsync --help
  8. Once the sync is complete, you could also setup a forward all mails to the new Gmail account from the old Google Apps mail account.

This guide can look a bit more technical and for the ‘geek-handed’. If you follow the steps it should be straight forward.

However, if you are afraid you might burn your computer by doing this, just ask your friendly geek-next-door, and s/he should be happy to help you.

Happy migrating back to Gmail…!

Advertisement
Categories
Tech Notes

Custom Search Engine on the fly

Google has been offering its Custom Search Engine for websites for some time. But until now it required us to generate code for Custom Search Engine specifically for each site giving site URL and other details.

Now here is a solution for that, where you can insert Custom Search Engine to your blogs and webpages on the fly. Its simple – just need to copy and paste the small code segment. To get the code go here.

Categories
Tech News

New! in Picasa Web Albums

Seems guys at Google are really excited this week, with Google Chrome, Picasa 3, and more new features to Picasa Web Albums

Some new stuff in Picasa Web Albums:

  • Name tags in Picasa Web Albums – Put a name to a face
  • Discover photos from around the world on the Explore page
  • Upload photos by email. See Settings to get started
  • Add Creative Commons licensing to your photos

[more…]

Categories
Tech News

Google Favicon Changed

Google has a new favicon now. I saw the new favicon for the first time when I was logging into Gmail this morning, and I thought there was something wrong with my browser’s cache or something else. Then a quick search reviled that this is in fact the new favicon of Google.

Google's New Favicon

I think the other “G” favicon was much better, and easily recognizable as the “G” in Google.

Google Favicons

But some say,

it makes a lot of sense: the small g is a symbol for infinity. A googol (10100) is just a poor approximation for the huge amount of information that needs to be indexed, organized and made useful by Google.

Changes….!

Categories
Tech Notes

Google Shared Stuff

This is just another one from Goolge, and its called 'Google Shared Stuff'…

Seems like just another social bookmarking, like Digg, del.icio.us, etc. Its not officially announced yet and still in the days of biginning… Anyway I got a page crated for me here, For more details refer to http://www.google.com/s2/sharing/stuff or here.

Don't know much about it, but just giving it a try…