protected function mailException(Exception $exception)
    {
        $data = [
            'exception' => $exception,
            'toEmail' => config('laravelEmailExceptions.ErrorEmail.toEmailAddress'),
            'fromEmail' => config('laravelEmailExceptions.ErrorEmail.fromEmailAddress'),
        ];

        Mail::send('laravelEmailExceptions::emailException', $data, function ($message) {

            $default = 'An Exception has been thrown on '.
                config('app.name', 'unknown').' ('.config('app.env', 'unknown').')';
            $subject = config('laravelEmailExceptions.ErrorEmail.emailSubject') ?: $default;

            $message->from(config('laravelEmailExceptions.ErrorEmail.fromEmailAddress'))
                ->to(config('laravelEmailExceptions.ErrorEmail.toEmailAddress'))
                ->subject($subject);
        });
    }