November 23
Google Calendar in Thunderbird tabs
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.
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.

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:
- Google Calendar Tab source code
- bug 516776 – Make it possible for browser elements to navigate through links/pages
- Thunderbird 3 for Developers – Content Browsing
- Thunderbird Content Tabs
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.













when logging into the calendar tab in tb3 (nightly), it always opens up the google account management tab in my default browser.
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.
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.
yep, works with the latest nightly (i was a few days behind). thanks bryan!
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?
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!
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
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.
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?
@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.
you can also use this great addon:
https://addons.mozilla.org/en-US/thunderbird/addon/4631
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…
I’ve pushed my code onto LP.
https://code.edge.launchpad.net/~colindean/+junk/gmailtab
[...] Comments Colin Dean on Google Calendar in Thunderbird tabsCaschys Blog on Google Calendar in Thunderbird tabsBoe on Google Calendar in Thunderbird tabsBryan [...]
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
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!
Thanks a lot! This is very nice.
[...] Dean converted the code from my post on Google Calendar in Thunderbird tabs and created a GMail tab for [...]
Hi! Great addon! Would it be possible to add google apps
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.
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!
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
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?
Opps. I guess should have read some of the earlier posts about tasks. Sorry.
[...] 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 [...]
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.
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
If there would be a way to use one’s Google Apps domain with the Calendar Tab add-on I’d be very happy!
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?
Awesome, wonderful, perfect! Also awesome because my family also plays Pinochle….
This is the best add-on for Thunderbird yet. I hope the task feature gets fixed. That would make it perfect.
Brilliant. Exported my calendar as a .csv file from Lightning and imported it into my Google Calendar. Worked like a charm.
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!
If anyone could fix the google tasks integration, that would be great!
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.
I downloaded the googlecalendartab.xpi file from the link provided above, but how do you install it?
go to tools and addons, then extensions, and click on install.
Worked like a charm…thanks!
@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.
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!!!
@Bryan: I’d love an update that would change the URL! It’d be wonderful. Kudos!
@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!
@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….)
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?
I modified the extension to open other common websites:
http://electronsoftware.altervista.org/extensions/
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…
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/
Hi there,
is it possible to add rememberthemillk.com ?
Great Extension!
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!
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
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….
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!
@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/
@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.
Also added: Google Voice and Google Wave.
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
@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.
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
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
[...] 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. [...]
Also added: Google Voice and Google Wave.
Well Thunderbird 3.0.1 has disabled it and I can’t find any way to override the version checking.
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.
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.
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…
Is there no way to get the tasks to work?
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.
Colin,
Thanks and apologizes for the bad links. I fixed and now the are all supposed to work.
any news about the addon for google apps calendar? (custom domain)
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,
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,
I used what @Colin said about editing the install.rdf file and repackaging and that totally fixed my problem.
Thanks @Colin!
I repackaged the Google Calendar tabs and many other addons to be compatible with any version 3.0.x.
http://electronsoftware.altervista.org/extensions/
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.
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.
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.
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).
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?
I would love a tab for Google Reader if you have time.
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.
Jesse,
I added an addon for Google Reader:
http://electronsoftware.altervista.org/extensions/
Nicely done. Thank you!
Version 3.1 fixed my problems. Thanks!!!
Hey Bryan – great add-on. Just curious what it would take and/or if you’d be interested in porting this to Postbox.
Thanks!
@Bryan,
Great Job with adding support for Google Apps! Thank You!
very happy with the google apps add on…thanks! now I can use Thunderbird and Google Apps Calendar which both sync with my crackberry!
I noticed I cannot delete an event, or do a search within the calendar tab.
This is a great addition!
I’d like to echo a previous question — is there a way to accept Outlook invitations directly without the hassle of forwarding to the gmail account, then adding it, and clicking accept?
Also, as another very recent post pointed out, I can select an event and click “Delete” but the event doesn’t delete. I need to edit the event details and click Delete to make it go away…
Any answers to either of these issues?
Thanks!
jm
Hey guys,
When I’m trying to login it says I have to enable Cookies in my browser, even though it’s on \Sites I trust\… Even when I change it to Allow All cookies it gives the same text/ error! My default browser is Safari.
Can anyone help me out here? I’d like to give this add-on a chance…
grtz,
RJ
Hi, I tried this addon, but I keep getting this message “Your browser’s cookie functionality is turned off. Please turn it on. [?]” I followed the message and change cookie setting in firefox 3.6, but I still keep getting the same message again and again!!!
Does anyone have this problem? If so, how did you handle this? any tips will be highly appreciated!!
thanks
BP
Hey there again,
I found out the reason why it wasn’t working with the cookies.
You have to enable cookies in Thunderbird too.
You should get there through:
>Extra >Options >Security >(subtab) Webfiles (last one)
> Then thick the box “Accept cookies from websites”
Done…
Ps: I have a different language pack in firebird so I hope this where the good tabnames.
Thanks RJ, it works perfectly!! Loving it!!
Hi,
Can anyone please give me some instructions on how to install the data from NickF’s site in Thunderbird 3.04pre? When I click on the links I get a new page with what look like code on it. How do I go about converting this to use on my 64 bit Thunderbird.
Big thanks,
Nutha Nick
@Nutha Nick,
About the page display, you may want to try clearing T-bird’s cache: Tools > Options > Advanced > Network & Disk Space > Disk Space > Clear Now.
Nicknefarious,
Right click on the link and save the file on your computer. In thunderbird, from the menu “tools”, select “Add-ons”. In the panel that opens, push the button “install” and select the file you saved on your computer. Follow the instructions. Enjoy.
Thanks for your help guys. for some reason lat night every time I clicked on the links, either left or right click, I ended up with a page of code which wasn’t working. This morning the links are downloading as.xpi file normally and everything is working fine.
Anything new on the Calendar Tasks problem (not showing up)?
How can I build the extension to include Google Notebook?
Cool extensions, great job so far. Keep it up.
Nutha Nick
Great addon!
I’ve seen problems similar to what others have mentioned, specifically:
* Cannot click settings in calendar tab
* Cannot search calendar
I’ve moved on to using the lightning plugin for thunderbird… which works great for displaying. It has a problem with dismissing reminders though – it always complains because the google calendar site dismisses it (or another thunderbird client if you use one at home and work), so when you go to dismiss it from thunderbird it just gives an error saying it couldn’t update.
Anyway, its an option
Everytime I reopen TB the Google Calendar tab is still open, but I have to login again. Is there a way to automate this?
I tried installing “Secure Login” (https://addons.mozilla.org/en-US/firefox/addon/4429) which would solve the problem, but it’s not compatible with TB 3.0.3
This is really a great addon, thank you very much!
I have no problem logging in and modifying events, but I have the same problems that Josh B pointed out:
* Cannot click settings in calendar tab
* Cannot search calendar
If I can provide usefull informations to fix it, please contact me.
Does anyone know how to get the Google Reader favicon to show up on its tab? Cheers
Hi,
I was very excited to try to have this work with TB 3.0.4 and google calendar in google apps for domains (it works fine with gmail). A hack as suggested by Ryan Paul is just not working for me. As soon as I put in the URI for my hosted app domain “http://www.google.com/calendar/mydomainname.com/” and try to start TB – either it hangs/doesnt show mail or the menu item Tools – Google Calendar disappears. I tried it with a new profile – same thing. I am editing googlecalendartab.jar file in chrome sub folder of extension. Could you please detail what I could be doing wrong or at least whatyou did to make it work…thanks
Wow this is great and it only took me about 5 minutes to make my own. So now I more or less have auto speed dial in Thunderbird with one click. Thank you so much you are credit to team.
I have encountered a problem: when trying to opening the calendar tab, google calendar wants to verify access. After entering email and address, nothing happens and it message does not go away.
Meanwhile on firefox, google accounts are fine and happy with the password.
Any suggestions? I have removed and reinstalled the addon twice already without good results.
I’m having the same issues as Paul just reported yesterday. Has anyone figured out a way around this yet?
I’m also having the same problem as Paul and Kevin. It just cropped up after Thunderbird updated itself a day or two ago.
After posting my last comment, I tried clicking on “Sign in as a different user” on the “verify” screen. Then, I just entered the same account info it had been asking me to verify and I was able to access my Google calendar. I’m not sure if this is a permanent solution or if it’ll work for others, but it’s worth a try.
My guess is that there was some type of cookie issue that was not resolved by uninstalling and reinstalling the add-on; however, clicking the “sign in as a different user” clears out the offending cookie. Clearing the cookies manually through Tools -> Options -> Security -> Web Content might also work. This is just a guess, though. The problem may have nothing to do with cookies.
Thanks Colin! That totally works for me too!
After instaling Calendar the extensions tab in the add-ons
window says that ‘provider for google calendar 0.7 requires
additional items’.
There is a picture of a jigsaw piece with a red exclamation mark.
And the ‘option’ button is disabled.
What additional items do I need?
Simon
Firstly… I absolutely LOVE this add-on. Genius idea. Much easier than working with Lightning and Provider-for-G-C. However, I have come across what appears to be a bug. When adding a new event, if you type in a time in to the quick entry bar, it changes from an “all day” event, to a time specific event. This is normal. BUT… if you then go in to edit the event, and select “All Day Event” check-box, it will change the completion date to the previous day! Everything gets screwy after that. Changing the date back doesn’t work, and Google Calendar refuses to accept the entry. Deselecting and reselecting “all day event” too quickly also messes up the date/time entry boxes. I have checked with the normal web interface, and that is fine. Fingers crossed that you can replicate this, and fix.
Thanks in advance.
This is a great extension, I love it. Previously I used the Google calendar provider for lightning, so many problems, especially with notifications and repeating events. This is so simple but so functional…
One request I have. Is it possible that the extension logs into the calendar if you have selected to remember your password. If not logged in, one might miss alerts. Thank you again
workbythai.com รับทำเว็บไซต์ ออกแบบเว็บไซต์ รับเขียนโปรแกรม ติดต่อ contact@workbythai.com
089-169-7619