protected function sendEmail(): void
    {
        if (!$this->emailing) {
            $mail = $this->getEmail();

            try {
                $this->emailing = true;
                $mail->send();
                $this->messages = [];
                $this->emailing = false;
            } catch (Mail\Exception $e) {
                Log::alert('Can not send log message(s) with e-mail logger', $e);
            }
        }
    }