Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A set of hopefully useful modules that you can import in your Thunderbird extension. Wrappers for deleting messages, archiving messages, sending messages, wrapping text, quoting text...
JavaScript Shell
branch: master

Modernize the range function to return a proper ES6 generator.

From casual debugging, it seems that the

  for each (let i of range(...))

pattern that I used before was broken subtly somewhere (new JIT? conformance to
ES6?). No time to debug this...
latest commit eea24d718e
@protz authored

Thunderbird Standard Library

The goal of this project is to provide a nice set of wrappers to get started quickly when developing a Thunderbird addon. The initial thread on Google groups details the ideas.

The following areas should be covered by this library:

  • sending a message, possibly in HTML,
  • doing various things with messages, including marking them as read, archiving them, deleting them, getting the associated tags...
  • wrappers for commong address book actions, such as quickly saving an email address in some address book,
  • various util functions: escaping text for HTML insertion, accessing the user's identities...

Gloda, MailUtils.jsm, GlodaUtils.js already provide useful functions. The goal is not to replace these, but rather to fill in the gaps. These functions are used by the "Thunderbird Conversations" and "Compose in a tab" extensions.

Something went wrong with that request. Please try again.