Synchronization of Email and Calendar Data among Google’s Web Services and a Portable Storage Device
This document will provide instructions detailing how to install a portable application platform ‘PortableApps’ © to a USB storage drive, followed by how to install the email client ‘Thunderbird.’ After installing Thunderbird, users of Google Mail and Google Calendar can read further for instructions to synchronize data between the USB drive and data stored on Google’s services.
PortableApps is a platform for software that allows data to be stored solely on the installed drive, allowing certain applications to travel from computer to computer, without loss of settings or private data. It will host the open source email client developed by Mozilla (“Thunderbird”) and take advantage of that software’s ability to install third party extensions. The extensions used — Lightning for calendar integration, and Provider for calendar synchronization — will work together to give the user a single piece of software that will serve as a hub for contacts, email services, and appointment scheduling. This software, as well as all modified data and settings stored on it shall be easily transported securely from computer to computer with the USB drive, and the software can synchronize anywhere the user has Internet access.
TABLE OF CONTENTS
I. Preceding Requirements
II. Downloading and Installing the PortableApps portable application launchpad
III. Downloading and Installing Thunderbird Portable Edition using PortableApps as an application launcher
IV. Setting up IMAP Email synchronization between Gmail, Thunderbird
V. Downloading and Installing the Lightning add-on for Mozilla Thunderbird
VI. Synchronizing Google Calendar with Thunderbird’s calendar using the ‘Provider’ extension
-
Preceding Requirements,
-
Connection to the Internet
-
‘Administrator privileges’ on the computer (Or equivalent permission allowing the installation of applications)
-
USB storage device; both “Flash Drives” (sometimes called “Thumb Drives”) and external hard drives are acceptable. This document assumes the drive does not already have an application launcher installed. A common pre-installed launcher is the ‘U3 Launcher’ and documentation for installing Thunderbird on this platform can be found at http://software.u3.com/Product_Details.aspx?productId=196 (as of 10/28/2008)
-
After installing Thunderbird on U3, instructions for Google Mail and Google Calendar remain the same, as well as Add-on instructions for installing extensions ‘Lightning’ and ‘Provider’.
-
-
-
Downloading and Installing the PortableApps portable application launchpad
-
Visit http://portableapps.com/download to find the most updated version. This document will assume the ‘Platform Only‘ installation, as it contains no included applications.
-
Download the newest installation package and once the download is complete, open the executable.
-
After clicking ‘Next‘ the user must specify the location of the installation. Check ‘My Computer’ for the correct drive letter – often denoted by a specific icon for external storage device. The location should be in the format “I:\”, where “I” is the drive letter of the storage device. This drive letter will most likely be the next letter in the sequence of installed storage devices (“C” Is commonly the primary hard drive letter in Windows based computers, followed by “D” for primary compact disc drive, and so forth.)
-
Click Install.
-
After the installation is completed, upon insertion of the drive, (by default) the operating system should recognize the ‘Auto-run’ application (by default, named StartPortableApps.exe on Windows) located in the root folder of the drive and initialize the software.
-
Once installed, the user can access this launcher file manually or simply re-insert the USB drive to run the launchpad for the first time. Succesful install and running is acknowledged by noticing the ‘PortableApps’ logo in the running processes bar on the right side of the task bar (on Windows) that, when clicked, produces an application launch pad on the screen.
-
-
Downloading and Installing Thunderbird Portable Edition using PortableApps as an application launcher
-
At this point, you should have a portable storage device with PortableApps installed. The installation is verified by a viewing a launchpad that appears when the ‘PortableApps‘ icon in the task bar is clicked.
-
Visit http://portableapps.com/apps/internet/thunderbird_portable for the most updated (portable) version of Mozilla’s email client. Download the indicated file.
-
Once the file in step 2 is downloaded, run the file. A new window should appear.
-
Click ‘Next’, and a license agreement will appear, after reading, check the box if you agree to the terms, and click ‘Next‘ to move on to the next screen.
-
Because the drive is already inserted, the installer will attempt to locate the correct directory of installation. It will be in “I:\PortableApps\ThunderbirdPortable” (Where “I” is your drive letter) by default.
-
Click install and wait for it to finish, follow the prompts and exit the installer.
-
Verify that Thunderbird is indeed on the drive by noting it’s new location in the list of applications in the PortableApps launchpad. The launchpad will appear by left-clicking the “PortableApps” icon in the running process list on the right of the task bar, at the bottom of the screen.
-
Upon running Thunderbird for the first time, the user will be presented with a series of windows requesting email account information so that it may access your email server and retrieve the data.
-
-
Setting up IMAP Email synchronization between Gmail, Thunderbird
-
For IMAP to be accessible outside of Google for the first time, the user must go into his/her Google Mail account and enable IMAP once. This can be done in the following three steps from within Google Mail:
-
IMAP can be enabled by clicking the ‘Settings‘ tab at the top of any page within Google Mail.
-
Click ‘Forwarding and POP/IMAP‘
-
Select ‘Enable IMAP‘
-
-
If it is your first time running Thunderbird, you are displayed with the account creation prompt by default; users with previously entered accounts can click ‘Tools‘ followed by ‘Account Settings‘. Click ‘Add Account‘ on the left of the resulting window.
-
New account types should be listed in this window. At the top of the list is ‘Email Account’, select this and click ‘Next’.
-
Enter the account title at the top of this screen, under ‘Name’ followed by the email address to be associated with the account. This text box should contain the @gmail.com account to be used.
-
This next screen is the protocol selection. POP was and is still popular but IMAP allows for much richer storage of data, including categorization and hierarchical structures. Select the IMAP radio button.
-
Below the protocol selection, are text boxes for incoming and outgoing email servers. At the time of writing this, the servers are as follows. Set the incoming server to “imap.gmail.com” and the outgoing server to “smtp.gmail.com”
-
After selecting ‘Next‘ to confirm, the user must again enter his @gmail.com email address in both the ‘Incoming User‘ and ‘Outgoing User‘ text boxes. Click next to complete the creation of the account.
-
To allow Thunderbird to communicate with Gmail’s servers, the user must specify the correct security and port information. Begin this by clicking ‘Tools‘ from the top and selecting ‘Account Settings‘ from the menu that appears.
-
Locate the email account that was just created and select ‘Server Settings’ from the tree below it.
-
Select ‘SSL’ in the ‘Security Settings’ box and enter ‘993‘ as the port, next to the text box labeled ‘Server Name‘ that should contain “imap.gmail.com”.
-
-
From the tree on the left where you selected ‘Server Settings’, select ‘Outgoing Server (SMTP)‘ from the same tree.
-
From the new options on the right, click the button labeled ‘Edit‘.
-
A new window should appear, titled ‘SMTP Server‘
-
In the text box labeled ‘Port:‘ enter “587”
-
At the bottom of this window, under ‘Use secure connection:”, select “TLS” from the list of options.
-
Click OK at the bottom after verifying each of the two changes to return to the ‘Account Settings’ window.
-
-
Click OK at the bottom of the ‘Account Settings‘ window to submit the new changes, and Thunderbird should be able to communicate with Gmail.
-
After IMAP’s configured the user can click ‘Get Mail‘ and Thunderbird will attempt to access the user’s email account and retrieve new email. Upon entry of a correct password, email should begin appearing within the software. N.B. ‘Labels’ defined in Gmail will be displayed as folders along the left side of the Thunderbird Inbox.
-
-
Downloading and Installing the Lightning add-on for Mozilla Thunderbird
-
At this point, the user should have an external storage device with the PortableApps open-source launcher installed. On top of this installation, the user should also have Mozilla’s email client Thunderbird as a working application, verified by left clicking it’s name in the launcher menu. Mozilla Thunderbird should be now running. Lightning is a Thunderbird Add-on developed by Mozilla to bring it’s calendar software, Sunbird, into the Thunderbird workspace.
-
Visit https://addons.mozilla.org/en-US/thunderbird/addon/2313 for the most recent distribution of the add-on. Navigate to the appropriate type, depending on operating system, and download the Add-on file. In Windows this will be a file with the extension ‘.xpi’.
-
From within Thunderbird, select ‘Tools‘ and then ‘Add-ons‘ from the top menu bar.
-
Users have two choices for installing extensions through the Add-ons management screen. Users can either:
-
Drag the downloaded file into the Add-ons management window and allow Thunderbird to install the selected extension, OR
-
Select ‘Install’ from the bottom of the window and navigate to the downloaded file. Choose open and follow the prompts to install the add on.
-
-
Thunderbird may need to be restarted, but it will restart with new features such as task management and a new calendar interface. Users of Google Calendar can download and install the ‘Provider’ extension to synchronize appointments between Thunderbird and Google Calendar. This process is explained in section VI.
-
-
Synchronizing Google Calendar with Thunderbird’s calendar using the ‘Provider’ extension
-
After the Lightning extension is installed, open Thunderbird and notice the buttons on the bottom right corner: “Mail”, “Calendar”, and “Tasks”. Select ‘Calendar’.
-
This is your calendar, as stored on the USB drive. We want this calendar to display any and all updates made to Google Calendar – as well as for all updates made on this portable calendar to be sent back to Google Calendar for remote backup and synchronization. Time to download the ‘Provider’ add-on for Thunderbird.
-
Visit https://addons.mozilla.org/en-US/thunderbird/addon/4631 for the newest version of the ‘Provider’ extension. Click ‘Download Now‘ to attain the newest *.xpi file containing the add-on.
-
Just as with the ‘Lightning’ calendar extension in section V, the provider extension must be installed within Thunderbird. From the menu bar up top, select ‘Tools‘ and then ‘Add-ons‘.
-
Users have two choices for installing extensions through the Add-ons management screen. Users can either:
-
Drag the downloaded file into the Add-ons management window and allow Thunderbird to install the selected extension, OR
-
Select ‘Install’ from the bottom of the window and navigate to the downloaded file. Choose open and follow the prompts to install the add on.
-
-
Once installed, restart the Thunderbird application once again, from the portable application launcher menu.
-
After Thunderbird restarts, click the ‘Calendar’ button from the bottom right and return to your calendar.
-
On the left side of the window should be a column with a month calendar up top and an empty list of calendars below (if you haven’t already created one). Right click the white space below “Calendar” and select “New Calendar”.
-
The first prompt asks if the Calendar is stored on the local computer or over a network, accessing Google’s Servers requires us to choose ‘On The Network’ for synchronization. Select ‘On the Network’ and click ‘Next’.
-
The following screen will display a set of radio buttons and a text box at the bottom labeled ‘Location:’.
-
Select ‘Google Calendar’ from this list.
-
If ‘Google Calendar’ not a choice, Provider may not be properly installed, go back to step VI.3 and verify a correct installation by checking for it’s presence in the add-ons manager (’Tools’ then ‘Add-ons’ from the top).
-
-
The value for ‘Location’ must be found by copying a personal URL from Google Calendar’s ‘Settings‘ page. Open your favorite web browser; navigate to http://www.google.com/calendar/
-
Log in with your Google account (same as Gmail credentials) to access the calendar.
-
Click ‘Settings‘ from the top of any page within Google Calendar.
-
From this new page, select the ‘Calendars‘ tab from the top.
-
By default only one calendar should be displayed, titled with the user’s first and last name. Click the title of the calendar to be synchronized, in most cases this is the calendar titled the user’s name.
-
The new page should be titled ‘John Doe Details’ where “John Doe” is the name of the calendar chosen for synchronization.
-
The final row in of this page is titled ‘Private Address’ clicking ‘XML’ will produce a URL for the user to access his/her calendar from third party software securely. Click XML next to ‘Private Address’ and copy the displayed URL to the clipboard (highlight the link and press CTRL+C)
-
-
Minimize this browser window and paste the URL you just copied into the ‘Location’ box of the Calendar creation dialogue.
-
Click ‘Next‘.
-
If Provider has trouble with the link, it will display an error message box up top. If this is the case, go back and retry steps VI.11.1-VI.11.6 to attain the correct URL.
-
-
Finally, enter the title of the Calendar to be displayed, optionally select a color, and click OK.
-
Provider may prompt the user for a password when accessing Google Calendar to retrieve data.
-
Click ‘Reload’ from the top buttons to retrieve data from Google’s server, updates made to either calendar will affect the other.
-
If no errors appear, the full installation and setup should be complete, and you have successfully finished all tasks discussed in this document. Congratulations!
-
After completing all the tasks proposed in this document, users should feel very comfortable with using both PortableApps and Thunderbird. Many applications exist for use by the PortableApps launcher and the installation for most is nearly identical to that of Thunderbird Portable Edition described in section II. Thunderbird, as with all Mozilla applications, is highly versatile because of a large developer community invested in designing add-ons and extensions that push the limits of the software’s features. Installation of the other add-ons is identical to the installations described in sections V.4 and VI.5 for both the Lightning and Provider extensions.
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

January 2nd, 2009 at 11:54 am
I really very liked this post. Can I copy?
Thank in advance.
Sincerely, Your Reader.