Return all accounts with the nsIMsgAccount interface
Change rules to find target accounts
Find accounts based on the given selector