public function actionCheck()
    {
        $version = $this->module->version;
        $this->stdout("\nPodium mail queue check v{$version}\n");
        $this->stdout("------------------------------\n");
        $this->stdout(" EMAILS  | COUNT\n");
        $this->stdout("------------------------------\n");

        $pending = (new Query)
                    ->from($this->queueTable)
                    ->where(['status' => Email::STATUS_PENDING])
                    ->count('id', $this->db);
        $sent = (new Query)
                    ->from($this->queueTable)
                    ->where(['status' => Email::STATUS_SENT])
                    ->count('id', $this->db);
        $gaveup = (new Query)
                    ->from($this->queueTable)
                    ->where(['status' => Email::STATUS_GAVEUP])
                    ->count('id', $this->db);

        $showPending = $this->ansiFormat($pending, Console::FG_YELLOW);
        $showSent = $this->ansiFormat($sent, Console::FG_GREEN);
        $showGaveup = $this->ansiFormat($gaveup, Console::FG_RED);

        $this->stdout(" pending | $showPending\n");
        $this->stdout(" sent    | $showSent\n");
        $this->stdout(" stucked | $showGaveup\n");
        $this->stdout("------------------------------\n\n");
        return self::EXIT_CODE_NORMAL;
    }