public function getPanel()
	{
		if ($this->countAll === 0 && $this->hideEmpty) {
			return;
		}

		$this->processMessage();

		$latte = new \Latte\Engine;
		$latte->setTempDirectory($this->fileMailer->getTempDirectory());
		return $latte->renderToString(__DIR__ . '/MailPanel.latte', [
			'messages' => $this->messages,
			'countNew' => $this->countNew,
			'countAll' => $this->countAll,
			'show' => $this->show,
		]);
	}