November 23

Google Calendar in Thunderbird tabs

Posted by Bryan Clark
Filed under mozilla | 83 Comments

If you’re a Google Calendar user like myself you might want to check out this really simple add-on for Thunderbird, which should be available as an official add-on for the coming Thunderbird 3 release.

The Google Calendar Tab

As simple as it sounds, this adds the Google Calendar web interface as a new tab directly into Thunderbird.  Creating and viewing events works just as it would in a browser like Firefox. :)

Google Calendar Tab

If your calendar is setup to show popup alerts you’ll continue to see them from the calendar tab while in other, mail, tabs.

Here’s my family Pinochle game reminder alert showing.

Google Calendar Alerts

There is no official release of this extension yet, however you could grab the latest XPI, download and install it into the latest (at least rc1) Shredder release.

More Extensions

It’s easy to get started integrating a web application like Twitter, Remember the Milk, and other sites into Thunderbird.  Once you get the initial pieces you can start working on better integration into your email conversations.

If you’re interested in creating an extension similar to this one, here are a couple links you probably want to check out:

Lightning

This calendar extension only handles a single url for Google Calendar.  If you’re looking for actual calendar integration with different calendars, including google calendar, you’ll want to check out the Lightning Calendar extension which also runs inside Thunderbird tabs.

This entry was posted on Monday, November 23rd, 2009 at 4:49 pm and is filed under mozilla. 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.

83 Responses to “Google Calendar in Thunderbird tabs”

  1. dietrich on November 23rd, 2009 at 5:28 pm

    when logging into the calendar tab in tb3 (nightly), it always opens up the google account management tab in my default browser.

  2. Bryan Clark on November 23rd, 2009 at 5:55 pm

    Try making sure it’s the latest nightly. The RC1 release and nightly versions will work but other older versions will open up external URLs (and forms) in your browser.

    I should probably check that the minVersion is correct to make sure it doesn’t work in those older versions.

  3. Blair McBride on November 23rd, 2009 at 7:23 pm

    Logging in works fine for me on the latest nightly, though I can’t get into the Settings page (clicking Settings just does nothing). Other than that, it works beautifully.

  4. dietrich on November 23rd, 2009 at 7:53 pm

    yep, works with the latest nightly (i was a few days behind). thanks bryan!

  5. Ryan Paul on November 23rd, 2009 at 11:42 pm

    This is a brilliant idea! I would really like to be able to use it with the Google Apps account on my domain. Maybe somebody could add a preference dialog to the add-on so users can do that?

  6. Ryan Paul on November 23rd, 2009 at 11:51 pm

    The code for the add-on is surprisingly simple. I was able to get it to work with a custom domain by changing the “contentPage” value in /extensions/googlecalendartab@momo/chrome/googlecalendartab.jar/googlecalendartab.js. I love it!

  7. Colin Dean on November 24th, 2009 at 7:45 am

    Having Google Calendar in Thunderbird is amazing. I prefer the interface to that of Lightning/Sunbird or iCal or Evolution, so this is a great solution for me.

    I did have some problems finding the RC1 package. You’ll have to download it from Mozilla’s FTP, as it’s not officially released yet. The RC1 candidates are available, however, and they are required for this to work.

    http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/3.0rc1-candidates

  8. Colin Dean on November 24th, 2009 at 9:35 am

    I just got the source and banged out a quick version of it for Gmail. I know that most sensible people would just add a Gmail account to their accounts, but some folks are crazy like me and prefer the Gmail interface, especially for the contacts integration.

    http://cad.cx/oss/gmailtab.xpi

    I’ll have source available somewhere soon. Perhaps, Bryan, we can some up with some build system so that folks can embed whatever page they want? I wouldn’t mind doing this for Meebo and perhaps Google Reader. I much prefer Thunderbird for IMAP mail checking, but some of its other features lack the web integration that apps have.

  9. will kahn-greene on November 24th, 2009 at 9:57 am

    This works great, except for the tasks gadget in Google Calendar. Clicking on the tasks link on the left side reveals the tasks gadget on the right side, but it doesn’t list tasks and has no interface widgets inside the gadget thing.

    Any ideas as to what might be the problem and/or how to go about figuring that out?

  10. Bryan Clark on November 24th, 2009 at 12:57 pm

    @Blair: We’re looking into the Settings page problem right now. Thunderbird is dropping the javascript: links currently and we might need to do something special to pick those up. I’ve filed a bug on this already.

    @Ryan Paul: Yeah, we tried hard to keep it really simple and hopefully it will just get simpler in the future.

    @Colin Dean: nice work as well!

    Our future plan is to use Jetpack for Thunderbird to help develop these kinds of simpler extensions. As you could see the extension code is almost completely boiler plate and unnecessary. Have a look at Andrew’s Jetpack work so far: http://www.visophyte.org/blog/2009/11/22/thunderbird-jetpack-teasers-words-per-minute-in-compose/

    @will: I’m seeing that as well and I’m not really sure what’s going on. It might take some debugging in Firefox to see what they are doing. I can’t think of anything off the top of my head that would cause this. I’m going file a bug on this if I can figure out some more, I’ll check back here if you have anything or email me.

  11. Boe on November 24th, 2009 at 1:45 pm

    you can also use this great addon:
    https://addons.mozilla.org/en-US/thunderbird/addon/4631

  12. Caschys Blog on November 25th, 2009 at 2:36 am

    Thunderbird und der Google Kalender…

    In der Vergangenheit schrieb ich schon Dutzende Male über die Symbiose des Google Kalenders mit dem Open Source Mailer Thunderbird. Um ganz einfach den Google Kalender mit Lightning (der Kalender-Erweiterung für Thunderbird) nutzen und synchr…

  13. Colin Dean on November 25th, 2009 at 8:48 am
  14. Bryan Clark » Blog Archive » Try other web apps in Thunderbird tabs on November 25th, 2009 at 2:31 pm

    [...] Comments Colin Dean on Google Calendar in Thunderbird tabsCaschys Blog on Google Calendar in Thunderbird tabsBoe on Google Calendar in Thunderbird tabsBryan [...]

  15. Dave on November 25th, 2009 at 4:10 pm

    If anyone can figure out how to make this work with the Google Tasks stand alone page that would be awesome. https://mail.google.com/tasks/canvas

  16. Colin Dean on November 25th, 2009 at 8:18 pm

    I quickly revised it for tasks, but I for some reason can’t get it to work.

    https://code.edge.launchpad.net/~colindean/+junk/gtasktab

    Feel free to submit a patch if you can get it working!

  17. Kalle on November 26th, 2009 at 12:57 am

    Thanks a lot! This is very nice.

  18. Bryan Clark: Try other web apps in Thunderbird tabs | Full-Linux.com on November 26th, 2009 at 11:03 pm

    [...] Dean converted the code from my post on Google Calendar in Thunderbird tabs and created a GMail tab for [...]

  19. pheekay on November 30th, 2009 at 7:21 am

    Hi! Great addon! Would it be possible to add google apps

  20. Florian on December 5th, 2009 at 6:57 am

    Does anyone have developed the tabs with google reader or remember the milk? That would be wonderful… Or with the possibility to add/remove urls and favicons in the settings.

  21. Coren on December 8th, 2009 at 1:29 pm

    This add-on is an excellent idea! I always found the Lightning+Provider combination to be a bit bothersome, and it’s a bit of a pain to set up initially. This plugin will make all those problems disappear.

    Right now, though, none of the javascript links seem to be working (“Delete”, “Settings”, “Refresh”) so it’s not quite as useful as it could be, but I’m sure this’ll get solved soon. Keep up the great work!

  22. simon on December 9th, 2009 at 9:02 am

    Hi Bryan

    This is a great idea…
    However, it would be even better if Google Gears was supported.
    Using that we could see our appointments offline as well. :)

    Greetings
    Simon

  23. Alan on December 9th, 2009 at 10:55 am

    I just discovered this add-on after Ars Technica gave it a rave review as part of their Thunderbird 3 review. This make life a lot easier. Thanks!

    A couple of comments:

    1. The initial login appeared to use https, as one would expect, but is the calendar event data transferred via https? I can’t tell. The code in the js file seemed to suggest not. Is there any reason not to use https://www.google.com/calendar/render, which is what I would normally use to render my Google calendar in Firefox?

    2. Google Tasks doesn’t appear to load–the strip where tasks are supposed to appear is blank. Is tasks supposed to render or is that a feature that isn’t available through the add-on at the moment?

  24. Alan on December 9th, 2009 at 10:57 am

    Opps. I guess should have read some of the earlier posts about tasks. Sorry.

  25. Google Wave in Thunderbird nutzen » F!XMBR on December 9th, 2009 at 1:41 pm

    [...] der Google Kalender in Thunderbird mit einem wunderbaren Plugin genutzt werden kann, hat Caschy nebenan sehr fein erklärt. Bei Google Wave habe ich bisher [...]

  26. Jesse on December 9th, 2009 at 1:54 pm

    Great little add-on. It would be nice (For both Calendar and Gmail add-ons) to be able to have multiple accounts in separate tabs open at the same time. I have 4 gmail accounts that I normally use gmail manager in Firefox to keep track of all of them. Currently you can only have one account logged in at a time.

  27. Zdenek on December 10th, 2009 at 3:08 am

    Hallo, in Google Calendar Tab (Thunderbird 3.0) is non-funcional “Tasks” gadget from Google Labs. Please look on this picture:
    http://img231.imageshack.us/img231/9192/googlecalendartabffvstb.png

  28. Niklas on December 10th, 2009 at 7:43 am

    If there would be a way to use one’s Google Apps domain with the Calendar Tab add-on I’d be very happy!

  29. Pranesh Prakash on December 10th, 2009 at 8:00 am

    I think the problem with the code lies in line 48:
    \contentPage\ : \https://mail.google.com/tasks\ };
    I think it should be
    \contentPage\ : \https://mail.google.com/tasks/canvas\ };

    Hope that helps. Could you try recompiling it with that change and see it it works?

  30. Laurion on December 10th, 2009 at 8:44 am

    Awesome, wonderful, perfect! Also awesome because my family also plays Pinochle….

  31. Dennis Bible on December 10th, 2009 at 5:24 pm

    This is the best add-on for Thunderbird yet. I hope the task feature gets fixed. That would make it perfect.

  32. SnowDoc on December 10th, 2009 at 10:56 pm

    Brilliant. Exported my calendar as a .csv file from Lightning and imported it into my Google Calendar. Worked like a charm.

  33. Stephan Harren on December 11th, 2009 at 1:21 am

    Nice little thing, can someone add some item under setting where you could set the URL for the login so that one could use it with a domain account? Maybe just accessible through the config editor?

    Thanks a lot!

  34. Michał Jabłoński on December 11th, 2009 at 12:08 pm

    If anyone could fix the google tasks integration, that would be great!

  35. Mike Boyko on December 12th, 2009 at 6:30 am

    To echo Stephan, the ability to specify the base URL (e.g. “http://www.google.com/calendar/hosted/yourownwebsite.com/render” either in a config file or other means would be great!

    For personal google accounts, this is a great add-in. Thank you for providing it to us.

  36. Bill G. on December 12th, 2009 at 6:33 pm

    I downloaded the googlecalendartab.xpi file from the link provided above, but how do you install it?

  37. Dennis Bible on December 13th, 2009 at 4:07 pm

    go to tools and addons, then extensions, and click on install.

  38. Unigami on December 14th, 2009 at 8:31 am

    Worked like a charm…thanks!

  39. Bryan Clark on December 15th, 2009 at 6:09 pm

    @Mike, is that what Personal Google Account url’s look like? I don’t have one so I don’t know. But I added some code to the extension so you could change the URL in the extension preferences. I’ll update the extension soon when I have it working well enough.

  40. KeepItAwesome on December 15th, 2009 at 9:44 pm

    FANTASTIC App!! Got me away from using the Gmail interface for the first time in over a year! I used to run provider to lightning, but it got to be so clunky after a while with all of my calendars . . . this is just fantastic. However, any thoughts on integrating the ability to use the Remember The Milk gadget plugin lab, or anything else that requires a non-Gcal click?

    Again, great job!!!

  41. Niklas on December 16th, 2009 at 3:15 am

    @Bryan: I’d love an update that would change the URL! It’d be wonderful. Kudos!

  42. Ben on December 17th, 2009 at 12:48 am

    @Bryan: indeed, an option to specify the url for google apps hosted domains would be perfect for my needs. It would be fantastic! great work and even wonderful idea!

  43. Mark on December 18th, 2009 at 12:40 pm

    @Bryan: Is there a way to tweak this myself to work with Google Apps?
    I don’t know how to edit/compile an xpi

    Alternate solution is to share all your Apps calendars with a Gmail account but that’s a big pain. (I do use Zindus to sync all my contacts across multiple GApps and Gmail accounts….)

  44. justme on December 27th, 2009 at 8:55 pm

    This sounds great! Is there a way to accept Outlook appts directly onto the Google calendar, or would I need to forward them to the relevant gmail account?

  45. NickF on January 5th, 2010 at 4:01 am

    I modified the extension to open other common websites:

    http://electronsoftware.altervista.org/extensions/

  46. NickF on January 5th, 2010 at 4:03 am

    In the website I provide above, the original extension is modified to open Google Mail and Docs, Yahoo! Mail, Hotmail, Facebook. If more are needed, please drop a line here…

  47. Zdenek on January 5th, 2010 at 6:25 am

    For NickF: Google Docs in TB is very good extension. Thank you! Is possible modify extension for next URL?
    https://mail.google.com/tasks/canvas
    http://www.google.com/contacts/

  48. Florian on January 6th, 2010 at 5:14 am

    Hi there,
    is it possible to add rememberthemillk.com ?
    Great Extension!

  49. Mark on January 6th, 2010 at 10:24 am

    I assume when you say Google Docs you mean Google Apps correct?
    So that it will work with calendars in other domains besides gmail.com
    Thanks!

  50. Mark on January 6th, 2010 at 1:41 pm

    I just tested Google Docs and Google Mail tabs.
    I guess I miusunderstood what you were doing.

    Many google users do not use gmail.com for mail, docs or calendar.
    They use their own domains for this.
    If you just made the URL to the service editable, we could put in our own and still view the correct calendar, docs, mail page.
    Seems to me just one extension with editable URL would do the trick rather than trying to make an extension for each service, of which there are so many!

    Thanks

  51. NickF on January 6th, 2010 at 4:15 pm

    I thought about having an editable URL, but that involves a bit more work and time which I don’t have at the moment. In particular a preference box would be needed, and some sort of alghorithm to find out the favicon. So for the moment, just static (fix) websites is all I can do, but if someone else would like to further develop the editing feature….

  52. mgiven on January 6th, 2010 at 9:12 pm

    Thanks…the extension for Facebook works great and saves me from logging on (which I do anyway every day) and keeps everything in one place. How bout one to open Twitter on a TB3 tab?

    Thanks again!

  53. NickF on January 7th, 2010 at 12:57 pm

    @Florian
    I am working on an extension for rememberthemilk. Unfortunately, because of the way RTM is structured, upon login a tab in firefox is opened (instead of TB). I am trying to work around this limitation.

    @mgiven
    An extension for twitter is now available here:
    http://electronsoftware.altervista.org/extensions/

  54. NickF on January 7th, 2010 at 4:45 pm

    @Zdenek

    Google contacts is now available. I made also a Google Tasks, but for unknown reasons, it opens only a blank page. If I right click on the blank page and select “open in an external browser”, the google tasks page works just fine, so it seems a problem with thunderbird.

  55. NickF on January 7th, 2010 at 8:22 pm

    Also added: Google Voice and Google Wave.

  56. mgiven on January 8th, 2010 at 1:00 pm

    Wow Nick, you are really making my desktop life easier! :)

    Thanks…I now have Thunderbird 3, which automatically opens tabs for Google calendar, Facebook and Twitter. These are things I’d do every day anyway, but saving the steps to open them and to keep them all on tabs in one program is VERY nice.

    I read on this thread earlier that a few already asked for a tab for rememberthemilk, and I’d love that as well since the google tasks don’t seem to be working yet. How about another web based task program that also sync’s with Google calendar already. I’m throwing out http://www.gqueues.com as a suggestion. I’ve used it for awhile and it might be a good Google Calendar task backup plan until (if) that works with TB3.

    Thanks for all your work (and quick work!)

    Michael

  57. NickF on January 8th, 2010 at 3:02 pm

    @mgiven

    No problem, I am glad it works for you.

    I quickly made one for GQueues (available on the usual site). Modifying the source to the desired website is actually rather simple…

    Regarding rememberthemilk and google tasks, I seem to be hitting (as others before me) some roadblocks. If I have more time, I’ll give it another shot.

  58. Mike on January 13th, 2010 at 9:52 am

    Nick … sorry I took so long to respond. The url I gave you on 12-Dec is the url for a google hosted domain calendar. The small business I support in my spare time uses the google calendar app to track appointments. And it allows multiple employees to update the business calendar with appointments and such.

    Hope this helps.

    – Mike

  59. Venu on January 14th, 2010 at 10:23 am

    I get a message that a google calendar already exists for me. What do I need to do to connect to this existing calendar?
    Thanks,
    Venu

  60. Google Kalender mit Thunderbird benutzen « Antary on January 20th, 2010 at 10:53 am

    [...] Mit dem Plugin wird der Google Kalender als Tab in eurem Thunderbird dargestellt. Wer es unkompliziert mag wird diese Möglichkeit sicher bevorzugen. Einfach das Add-on “Google Calendar Tab” herunterladen und im Thunderbird installieren. Die Homepage des Entwicklers findet ihr hier. [...]

  61. Desen on January 21st, 2010 at 3:35 am

    Also added: Google Voice and Google Wave.

  62. Michael on January 21st, 2010 at 6:07 pm

    Well Thunderbird 3.0.1 has disabled it and I can’t find any way to override the version checking.

  63. Colin Dean on January 21st, 2010 at 6:10 pm

    Michael, if you unzip the xpi, you can alter the install.rdf file and change the version check in there. Once you’ve made the change, repack it and install it.

  64. Michael on January 21st, 2010 at 6:15 pm

    That worked…thanks. Any chance of this plugin getting official distribution and updates through mozilla’s site? It seems pretty solid to me. The only problem I ever have is sometimes it doesn’t open when I start thunderbird, and I have to click tools, google calendar tab to open it.

  65. NickF on January 21st, 2010 at 7:40 pm

    All, I changed all the addons available here:

    http://electronsoftware.altervista.org/extensions/

    to be compatible with any version of Thunderbird 3.0.*.

    You may need to download them again and reinstall them…

  66. Dennis Bible on January 22nd, 2010 at 3:53 pm

    Is there no way to get the tasks to work?

  67. Colin on January 23rd, 2010 at 7:08 am

    NickF, the links on your site are a little messed up. The links for the Google Wave and Google Voice XPIs both point to googlecontactstab.xpi. The correct XPIs are there, they’re just not correctly linked.

    That said, thanks for putting those XPIs up. Now I’ve got all my communications stuff set up inside Thunderbird – very nice.

  68. NickF on January 23rd, 2010 at 1:34 pm

    Colin,

    Thanks and apologizes for the bad links. I fixed and now the are all supposed to work.

  69. Ben on January 27th, 2010 at 7:28 am

    any news about the addon for google apps calendar? (custom domain)

  70. Kevin on January 31st, 2010 at 9:45 am

    Love the addon! Great job! Thanks so much for all the hard work you’ve done!

    I’m running Thunderbird 3.0.2pre on Ubuntu 9.10, and your addon has worked flawlessly since I started using it a while back. This morning it stopped working, saying it’s not compatible. Not sure why it would all of a sudden stop working like that. It’s weird.

    Any thought?

    Thanks,

  71. Kevin on January 31st, 2010 at 9:53 am

    I just uninstalled the addon, downloaded the ‘latest’, tried to reinstall, and it refuses to install w/ the message: “Google Calendar Tab 2.0 could not be installed because it is not compatible with Shredder 3.0.2pre”

    Is there any way I can hack the code to force it to install?

    I’ve really grown used to having this addon, and I hate to go back to not having it.

    Thanks,

  72. Kevin on January 31st, 2010 at 12:01 pm

    I used what @Colin said about editing the install.rdf file and repackaging and that totally fixed my problem.

    Thanks @Colin!

  73. NickF on January 31st, 2010 at 3:21 pm

    I repackaged the Google Calendar tabs and many other addons to be compatible with any version 3.0.x.

    http://electronsoftware.altervista.org/extensions/

  74. Bryan Clark on February 2nd, 2010 at 11:10 am

    Hey, I finally added the Google Apps support via a preferences option. I also added this to the addons.mozilla.org site so you’ll get automatic updates instead of checking back every time.

    https://addons.mozilla.org/en-US/thunderbird/addon/70768/

    Thanks, and let me know how it goes.

  75. Geoff on February 2nd, 2010 at 2:32 pm

    Cool. Thank you. Much simpler than Lightning with Sunbird with the Provider for Google Calendar, that seemed to make Thunderbird 2.00 crash and is currently not production ready for 3.0. Now I have a reason for the 3.0 tabs, since I had to disable the indexing to stop the constant use of resources along with the creation of a 2+ GB all mail file.

    It did take a couple of minutes to figure out how to make it work. I kept clicking on Google Calendar tab in the Tools tab and nothing happened.

  76. Cameron on February 2nd, 2010 at 8:57 pm

    Yeah, I tried the Calendar Tab xpi file from addons.mozilla.org and after I installed it nothing happened when I tried to open it in a tab. The one from electronsoftware site works though.

  77. NickF on February 3rd, 2010 at 12:55 am

    I also tried the new addon, using it with a site that isn’t google. In my case I tried hotmail. A couple of issues:

    1. the icon is still google’s (I know, this is only for google local domain, but still)
    2. When I open the tab, hotmail shows up fine. However every link is opened in the browser, not in the TB tab. This doesn’t occur with the old modified addons (available on electronsoftware).

  78. Ray on February 3rd, 2010 at 6:14 am

    OK, so I installed it and clicked on both the Tools menu item and the little tab bar button. A big fat nothing! Great first impression.

    Where are your troubleshooting procedures?

  79. Jesse on February 3rd, 2010 at 11:05 am

    I would love a tab for Google Reader if you have time.

  80. Bryan Clark on February 3rd, 2010 at 2:51 pm

    I uploaded a new version; 3.1 which should fix those issues you saw with that first version. Hopefully the add-on submission process will be done soon so it’s out of the experimental status.

    @NickF now that this new add-on lets you specify a URL for Google Apps you can actually put any URL in there that you want. However the icon will stay the same calendar one and the name won’t change. This wasn’t really built to be a general purpose URL opener; that’s for a different add-on.

    @Ray there was a problem with the default preferences which is why others could get it to work if they changed the value in the Add-on prefs page. There isn’t a framework for automated testing of add-ons so this is the only troubleshooting I have.

    @Jesse electronsoftware / NickF has a number of other add-ons for other sites you might want to try. Though I haven’t checked them out myself.

  81. NickF on February 3rd, 2010 at 5:30 pm

    Jesse,

    I added an addon for Google Reader:

    http://electronsoftware.altervista.org/extensions/

  82. Nunja Business on February 7th, 2010 at 6:38 am

    Nicely done. Thank you!

  83. Ray on February 7th, 2010 at 8:12 am

    Version 3.1 fixed my problems. Thanks!!!

Leave a Reply