The message display API first appeared in Thunderbird 70 and was backported to Thunderbird 68.2.
A message can be displayed in either a 3-pane tab, a tab of its own, or in a window of its own.
All are referenced by
tabId in this API. Display windows are considered to have exactly one
tab, which has limited functionality compared to tabs from the main window.
messagesRead is required to use
Gets the currently displayed message in the specified tab. It returns null if no messages are selected, or if multiple messages are selected.
Returns a Promise fulfilled with:
Fired when a message is displayed, whether in a 3-pane tab, a message tab, or a message window.