code: public function getPhotoEmail()
      {
          if (!empty($this->email) && substr($this->email, -6) !== ".local") {
              return $this->email;
          }
  
          return false;
      }
docs: Get photo email.
  
  @return [[@doctodo return_type:getPhotoEmail]] [[@doctodo return_description:getPhotoEmail]]