Changelog for Thunderbird 121

The following WebExtension API changes were introduced in Thunderbird 121.

accounts

api accounts

folders

api folders
  • function get — Returns the specified folder.

  • function getFolderCapabilities — Get capability information about a folder.

  • function markAsRead — Marks all messages in a folder as read.

  • function query — Gets folders that match the specified properties, or all folders if no properties are specified.

  • function update — Updates properties of a folder.

  • event onUpdated — Fired when properties of a folder have changed (specialUse and isFavorite).

  • type MailFolder.id — An identifier for the folder.

  • type MailFolder.isFavorite — Whether this folder is a favorite folder.

  • type MailFolder.isRoot — Whether this folder is a root folder.

  • type MailFolder.isVirtual — Whether this folder is a virtual search folder.

  • type MailFolder.specialUse — The special use of this folder. A folder can have multiple special uses.

  • type MailFolderCapabilities — An object containing capability information about a folder.

  • type MailFolderId — A unique id representing a folders.MailFolder throughout a session. Renaming or moving a folder will invalidate its id.

  • type MailFolderInfo.lastUsed — Date the folder was last used. It is updated every time the folder was accessed, when the user moved or copied messages into the folder and when the folder received new messages. (precision: seconds).

  • type MailFolderInfo.newMessageCount — Number of new messages in this folder.

  • type MailFolderInfo.quota — Quota information, if available.

  • type MailFolderQuota — An object containing quota information.

  • type MailFolderSpecialUse — Supported values for the special use of a folder.

  • type QueryRange — An object defining a range for an integer value to be used in queries.

mailTabs

api mailTabs
  • function create — Creates a new mail tab. Standard tab properties can be adjusted via tabs.update after the mail tab has been created. A new mail window can be created via windows.create.

  • function getListedMessages — Lists the messages in the current view, honoring sort order and filters as used in the UI. Sort order of the returned messages can be overridden via the options parameter

messages

api messages

messages.tags

The messages.tags API allows to manage the user’s message tags.

tabs

api tabs
  • type TabType — Tab types supported by the tabs API.