add: document.getElementById('tabmail').closeTabs(); 
context: function OnUnloadMessenger(){  OnLeavingFolder(gMsgFolderSelected);  // mark all read in current folder  accountManager.removeIncomingServerListener(gThreePaneIncomingServerListener);  pref.QueryInterface(Components.interfaces.nsIPrefBranch2);  pref.removeObserver("mail.pane_config.dynamic", MailPrefObserver);  pref.removeObserver("mail.showFolderPaneColumns", MailPrefObserver);  // FIX ME - later we will be able to use onload from the overlay  OnUnloadMsgHeaderPane();  OnUnloadFolderPane();  OnMailWindowUnload();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/b63a5b72361765e9c991347479ce265f17a15db6/msgMail3PaneWindow.js/clean/mail/base/content/msgMail3PaneWindow.js