You can continue to iterate the tab application by creating a new click handler, however at that point it might be worthwhile to start with the extension code instead of working in the error console.
Jetpack for Thunderbird
In the hopefully not too distant future Thunderbird will gain Jetpack as it’s new extension model and it will be no longer necessary for add-ons like this these be created but instead a simple Jetpack which can do the same things without restarts or complicated installs.
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.
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:
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.