persons = self.shell.GetPersons(self.auth, [person_dict['email']], ['person_id', 'key_ids'])
# Create the person record
if not persons:
self.shell.AddPerson(self.auth, person_dict)
persons = self.shell.GetPersons(self.auth, [person_dict['email']], ['person_id', 'key_ids'])
# Create the person record
if not persons:
self.shell.AddPerson(self.auth, person_dict)