public function sendTemplateMessage(
        $nb_template,
        $to = null,
        $cc = null,
        $bcc = null,
        array $params = null,
        array $attachments = null
    ) : bool
    {
        $nb_template = $this->discoverTemplate($nb_template);
        $nb_language = $this->discoverLanguage($nb_language);
        list($subject, $body_html, $body_text) = $this->prepareMessageUsingTemplate($nb_template, $params);

        return $this->sendMessage($nb_template->getServices(), $to, $bc, $bcc, $subject, $body_html, $body_text, $attachments);
    }