Sync Google Calendar With Thunderbird Lightning - gHacks Tech News

Sync Google Calendar With Thunderbird Lightning

Both the Thunderbird desktop email client and the Lightning calendar add-on have been recently updated. Using Lightning is not the only way of integrating Google Calendar in Thunderbird. In 2010 I reviewed the Thunderbird add-on Google Calendar Tab which integrates the service into Thunderbird by opening the Google Calendar web page in the email client.

Probably better than that is the integration of Google Calendar information into the Lightning add-on as it integrates better with Thunderbird. The requirements are the following: You need Thunderbird 8 or later at the moment as Lightning is only compatible with that version of the email client currently. The developers however have stated that the next version of Lightning will again support previous versions of Thunderbird as well. Lastly, you need a Google account with Google Calendar enabled as a service.

Update: Google changed the authentication method of CalDAV on September 16. This changes things around a bit. You do need - at the very least - Thunderbird 24 and Lighting 2.6, as they support the new option.

To connect the calendar, you have to do the following:

  1. Open File > New > Calendar in Thunderbird.
  2. Add a new calendar (On the Network > CalDav).
  3. Add the following location for the calendar, make sure you replace the your email address part in the address with your Google email address: https://apidata.googleusercontent.com/caldav/v2/your-email-address/events

Additional information are provided on Mozilla's Calendar blog.

Installing Lightning

Install Lightning in Thunderbird by dragging and dropping the downloaded add-on file into the program window. You can alternatively click on Tools > Add-ons to open the program's add-on manager. Click the small options icon next to the search and select Install Add-on from File. Locate the Lightning add-on on your computer and select it to install it in the email client.

install thunderbird addon

Restart Thunderbird after you have installed the calendar add-on.

Setting up Google Calendar

Go to the Google Calendar website and log into your Google account. Click on the options icon in the upper right corner of the screen next to the profile picture and select Calendar settings from the menu there.

calendar settings

Switch to the Calendars tab under Calendar Settings and locate the calendar that you want to sync with Thunderbird. Click on that Calendar and scroll down until you Calendar Address and the Calendar ID listed there.

calendar id

Syncing Google Calendar with Thunderbird

Click on File > New > Calendar to create a new calendar. In the next menu select On the Network from the available options and click Next.

create new calendar

Select CalDAV from the available options and paste in the following url:

https://apidata.googleusercontent.com/caldav/v2/your-email-address/events

with Calendar ID being the ID listed on the Google Calendar page.

google calendar in thunderbird

You are then asked to enter a name, color, alarms and an email address for the calendar.

create google calendar

If everything has been done correctly the Google login credentials need to be entered on the next page. Once done the new calendar will be displayed in the Lightning calendar in Thunderbird.





  • We need your help

    Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

    We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

    If you like our content, and would like to help, please consider making a contribution:

    Comments

    1. alessio said on November 10, 2011 at 3:22 pm
      Reply

      there is a plugin to user google calendar on Lightning:
      “Provider for Google Calendar”
      https://addons.mozilla.org/en-US/thunderbird/addon/provider-for-google-calendar/

    2. DanTe said on November 10, 2011 at 3:46 pm
      Reply

      Thanks for the walk through Martin. Will try this. I looked on line and got the “Provider for Google Calendar” but I couldn’t get that to work as I keep selecting “Google Calendar” instead of “CalDAV”.

    3. Midnight said on November 10, 2011 at 7:15 pm
      Reply

      I followed your instructions to the letter, Martin and Google Calendar seemed to have installed in Thunderbird 8.
      However, a yellow caution showed up next to the Calendar, telling me that the Calendar is Not available.

      Not only that, all my Tasks and Events in Lightning disappeared!!
      Once I deleted the Google Calendar, the Tasks and Events returned!

      No matter, don’t really need two Calendars, as Lightning serves my purpose, nicely!

      1. Anonymous said on June 10, 2017 at 10:12 am
        Reply

        I also thought so until I started creating tasks while away from my office or desk on my mobile device. Now my away created tasks end events nicely sync to my Thunderbird calendar. I am trying to sync back from Thunderbird to Google Calendar. Seems to be a challenge.

    4. B. Moore said on November 10, 2011 at 8:01 pm
      Reply

      That worked PERFECTLY! Thank You!

      Now only 1 thing left… Has anyone figured out how to get Google Tasks in to Thunderbird yet???

      I know this has been on a few todo lists but I have yet to see it completed.

    5. Roman said on November 29, 2011 at 5:52 pm
      Reply

      Thank you very much, this worked great for me.

    6. vinay said on December 7, 2011 at 10:22 pm
      Reply

      Lieber Martin!!

      Vielen dank für deine ausführliche information über google calender und thunderbird sync…. meiste leute suchen sich was in der web, aber sind dann nicht dankbar für die leute, die mühe geben und die information erstellen…

      vielen dank – hat mich geholfen!

      grüße aus graz – vinay

    7. ss said on April 16, 2012 at 7:45 am
      Reply

      this is perfect advice! thanks!

    8. Damiani said on August 14, 2012 at 1:19 pm
      Reply

      Dziękuję bardzo!
      Simply, easily and effectively!
      Very Thanks!

    9. Kat said on September 8, 2012 at 10:54 pm
      Reply

      Had a feeling CalDav was a way to go. Used to be on iCal with my Mac a lot more, but now I’m bringing around a notebook to school (instead of a Macbook Air…) and I needed a nice desktop application that was capable of syncing. Having the Lightning add on with your advice how to port over some of my calendars was handy.

      Thanks!

    10. Thierry said on September 20, 2012 at 9:10 am
      Reply

      Martin,
      An Excellent explanation,
      Thank you, Thierry

    11. Zack said on November 7, 2012 at 5:08 pm
      Reply

      You, sir, are gentleman and a scholar. Thanks for the tutorial; this is exactly what we’ve been looking for!

    12. Ben said on April 15, 2013 at 5:23 am
      Reply

      Hi,
      It seems that google has made some changes to its calendar code. Now it is no longer possible to dismiss reminders with lightning (using the above guide)
      Anyone has a clue on how to solve this issue

    13. Chris said on July 24, 2013 at 8:57 am
      Reply

      Worked for me – thankyou

    14. Sheila said on September 23, 2013 at 5:44 pm
      Reply

      Thank you so much this was the only way to get my google calendar to sinc. All the other sites with explanations are all wrong. :-)

    15. Jpsy said on October 1, 2013 at 9:07 am
      Reply

      Google has changed the CalDAV protocol on September 16th, 2013. The directions given in this blog post will not lead to a working sync anymore.

      For *Thunderbird + Lightning* here is the explanation and the solution:
      http://blog.mozilla.org/calendar/2013/09/google-is-changing-the-location-url-of-their-caldav-calendars/

      You need the new versions TB 24 and LI 2.6 and you have to change the CalDAV address to access your calendar(s).

      Unfortunately not all glitches have been ironed out so far. For some (including me) the sync is still not working due to remaining inconsistencies that the Lightning team is currently working on.

      1. Martin Brinkmann said on October 1, 2013 at 9:25 am
        Reply

        Thanks, I have posted an update to the original article and linked to yours as well.

        1. Jpsy said on October 1, 2013 at 10:07 am
          Reply

          Hello Martin, maybe you should also change the old CalDAV URL further down in your posting. It still states “https://www.google.com/calendar/dav/[Calendar-ID]/events” which will probably confuse your readers.

        2. Martin Brinkmann said on October 1, 2013 at 10:15 am
          Reply

          Right, missed that. Have changed it as well.

    16. Peter Hill said on March 30, 2014 at 4:59 am
      Reply

      Great article – thank you I’m now free of Microsoft Outlook!!

      The only thing extra that I had to do was export the Lightning calendar ics file & import to Google Calendar where I created another calendar that I titled Lightning. (Events & Tasks>export. Saved ics file & imported into Google: Settings>Calendar import calender appears next to create calendar)

      I have a Nokia Lumina 1020 Windows phone & I now have my work calendar (Exchange) and private calendar (Lightning) all synched & appearing on the calendar on my phone.

      Thank you very much,
      Regards, Peter

    17. TJC said on January 12, 2015 at 11:28 pm
      Reply

      Hello Martin, Great article, simple and clear.
      Now can you write the same type of article for Thunderbird/Lightning to sync with Outlook365?
      Thanks,
      Tom

      1. Martin Brinkmann said on January 12, 2015 at 11:30 pm
        Reply

        I don’t use Outlook365 so cannot test it unfortunately. Sorry!

    Leave a Reply