add: msgWindow.rootDocShell.appType = Components.interfaces.nsIDocShell.APP_TYPE_MAIL; 
context: function InitMsgWindow(){  msgWindow.windowCommands = new nsMsgWindowCommands();  // set the domWindow before setting the status feedback and header sink objects  msgWindow.domWindow = window;   msgWindow.statusFeedback = statusFeedback;  msgWindow.msgHeaderSink = messageHeaderSink;  mailSession.AddMsgWindow(msgWindow);  getBrowser().docShell.allowAuth = false;  msgWindow.rootDocShell.allowAuth = true; }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/6ff991e2898ef85a2e184b23165faa229a6e4a28/mailWindow.js/clean/mail/base/content/mailWindow.js