Changes up to Thunderbird 102 ESR
Thunderbird 95 Beta
relatedMessageIdproperty to the ComposeDetails type
Thunderbird 96 Beta
erroras a supported return value property of the onFileUpload event, to show an error message to the user, in case upload failed
added onFileRename event to properly handle cloud file rename operations (the file on the server should be renamed as well, if the cloud file attachment in the email is renamed by the user)
attachmentas a supported property of the query([queryInfo]) function, to be able to query for messages with or without attachments
Thunderbird 97 Beta
Thunderbird 98 Beta
added manifest property
reuse_uploads, to allow providers to disable automatic link reuse of already known cloud files: If a previously uploaded cloud file attachment is reused at a later time in a different message, Thunderbird may use the already known
templateInfovalues without triggering the registered onFileUpload listener again. Setting this option to false will always trigger the registered listener, providing the already known values through the
relatedFileInfoparameter of the onFileUpload event, to let the provider decide how to handle these cases.
relatedFileInfoparameter of the onFileUpload event: Information about an already uploaded cloud file, which is related to a new upload. For example if the content of a cloud attachment is updated, if a repeatedly used cloud attachment is renamed (and therefore should be re-uploaded to not invalidate existing links) or if the provider has its manifest property
modified the rules for
isPlainTextproperties of ComposeDetails in a backward compatible way - specifying both body types no longer causes an exception and it is now even suggested to always specify both and either let the API pick the users default compose mode, or use the
isPlainTextproperty as selector
Thunderbird 100 Beta
added support for
Thunderbird 101 Beta
Support for manifest key
data_formathas been removed, the only supported format now is
getDisplayedMessage(tabId) now returns messages in inactive tabs.
Thunderbird 102.0 ESR
Added support for
Added saveMessage(tabId, [options]) and changed the return value of sendMessage(tabId, [options]) from a boolean to a complex object with information about the sent message and its local copies - both functions return a Promise which resolves once the message operation has finished
Subfolders are now being returned in the order used in Thunderbird’s folder pane.
Added open(openProperties) to open messages in tabs or windows.