public function getEmail() { if ($this->email) { return $this->email; } else { if ($this->uid) { return $this->uid; } else { return $this->username; } } }