public function avatar($email) {
		if (filter_var($email, FILTER_VALIDATE_EMAIL)) {
			$baseUrl = $this->useHttps ? $this->https($this->baseUrl) : $this->baseUrl;
			$url = $baseUrl . "avatar/" . $this->generateHash($email);
		} else {
			throw new InvalidArgumentException("The avatar filter must be passed a valid Email address");
		}

		if ($this->rating) {
			$url = $this->rating($url, $this->rating);
		}

		if ($this->size) {
			$url = $this->size($url, $this->size);
		}

		if ($this->default) {
			$url = $this->def($url, $this->default);
		}

		return $url;
	}