public static QArgs GetQArgsForPersonEmails(IEnumerable<IPersonInfo> persons, string roles)
 {
     List<int> accounts = new List<int>();
     foreach (var person in persons)
         accounts.AddRange(person.GetEmailIds());
     QAccountCond accountCond = new QAccountCond(from id in accounts select new QAccountCond.QAccount(id, roles));
     QArgs args = new QArgs(accountCond);
     return args;
 }
 public static QArgs GetQArgsForPersonEmails(IPersonInfo person, string roles)
 {
     QAccountCond accountCond = new QAccountCond(from id in person.GetEmailIds() select new QAccountCond.QAccount(id, roles));
     QArgs args = new QArgs(accountCond);
     return args;
 }