src/ErrorHandler/ErrorEmailer.php
public function onErrorLowPri(Event $error)
    {
        if ($error['email'] && $this->cfg['emailMin'] > 0) {
            $throttleSuccess = $this->throttleDataSet($error);
            $tsCutoff = \time() - $this->cfg['emailMin'] * 60;
            $error['email'] = $throttleSuccess && $error['stats']['tsEmailed'] <= $tsCutoff;
        }
        if ($error['email']) {
            $this->emailErr($error);
        }
    }
public function onErrorLowPri(Event $error)
    {
        if ($error['email'] && $this->cfg['emailMin'] > 0) {
            $throttleSuccess = $this->throttleDataSet($error);
            $tsCutoff = \time() - $this->cfg['emailMin'] * 60;
            $error['email'] = $throttleSuccess && $error['stats']['tsEmailed'] <= $tsCutoff;
        }
        if ($error['email']) {
            $this->emailErr($error);
        }
    }
Email error

@param Event $error error event

@return void