protected function createMailgunTransport(array $config): MailgunTransport
    {
        return new MailgunTransport(
            $this->getHttpClient($config),
            $config['secret'],
            $config['domain'],
            $config['base_url'] ?? null
        );
    }