public function getPhotoUrl(string $email, bool $secure = true)
    {
        $hash = md5(strtolower(trim($email)));

        $url = ($secure ? "https://" : "http://");
        $url .= "{$this->bamboo->domain}.bamboohr.com/employees/photos/?h={$hash}";

        return $url;
    }