rem: var am = mail.accountManager; 
context: function verifyAccounts() {    try {        var mail = Components.classes[mailSessionProgID].getService(Components.interfaces.nsIMsgMailSession);        var am = mail.accountManager;        var accounts = am.accounts;        // as long as we have some accounts, we're fine.        if (accounts.Count() > 0) return;        try {            dump("attempt to UpgradePrefs.  If that fails, open the account wizard.\n");            am.UpgradePrefs();            refreshFolderPane();        }        catch (ex) {            // upgrade prefs failed, so open account wizard            MsgAccountWizard();        }            }    catch (ex) {        dump("error verifying accounts " + ex + "\n");        return;    }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/df624074660a33f7a28b02cbc644e2c4c4607e37/msgMail3PaneWindow.js/clean/mailnews/base/resources/content/msgMail3PaneWindow.js