This is how you could return your processor with specific system settings.
<?php
class MyGetListProcessor extends modObjectGetProcessor {
public $classKey = 'className';
public function process() {
$data = array();
$settings = array(
'emailsender' => $this->modx->getOption('emailsender')
);
$data['total'] = count($settings);
return $this->outputArray($settings, $data['total']);;
}
}
return 'MyGetListProcessor';