add: gMailIdentity = DefaultAccount.defaultIdentity; 
context: function checkMail(){	var AccountManagerComponent;	var AccountManagerService;	var AccountManager;	var DefaultAccount;	var SmtpServiceComponent;	var SmtpService;	var Smtp;	var DefaultSmtp;	try	{		AccountManagerComponent = Components.classes["@mozilla.org/messenger/account-manager;1"];		AccountManagerService = AccountManagerComponent.getService();	}	catch(ex) // yikes no account manager == no accounts	{		// from bug 122651 - scenario 1		noMail();		return;	}	try	{		AccountManager = AccountManagerService.QueryInterface(Components.interfaces.nsIMsgAccountManager);		DefaultAccount = AccountManager.defaultAccount;	}	catch(ex)	{		// from bug 122651 - scenario 2		noAccount();		return;	}	try	{		SmtpServiceComponent = Components.classes["@mozilla.org/messengercompose/smtp;1"];		SmtpService = SmtpServiceComponent.getService();		Smtp = SmtpService.QueryInterface(Components.interfaces.nsISmtpService);		DefaultSmtp = Smtp.defaultServer;	}	catch(ex)	{		// if we don't have an SMTP server to use I'm not going		// to allow mail features to be enabled for now		// from bug 122651: scenarios 3, and 6		noSmtp();		return;	}	// if we get here that means we must have a default account and default smtp server otherwise	// the thrown exceptions would have been caught.	// from bug 122651 - scenarios 4, 5, 7, and 8	// we'll just use the default account for now.	gMailAccounts = true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2ab6fcc63b4eb86e46224e4a8b70efc8f81280b1/calendarMail.js/clean/calendar/resources/content/calendarMail.js