'Set the primary email address for the participant.'

def set_primary_email(self, email, cursor=None):

    if cursor:
        self._set_primary_email(email, cursor)
    else:
        with self.db.get_cursor() as cursor:
            self._set_primary_email(email, cursor)
    self.set_attributes(email_address=email)
