public function email() { $client = $this->entity->client; return count($client->contacts) ? $client->contacts[0]->email : ''; }