src/Components/SupportsEmailParameters.php
public static function storeConfig($id, $config)
    {
        if (isset($config['parameters'])) {
            $params = (array)$config['parameters'];
            EmailServiceParameterConfig::whereServiceId($id)->delete();
            foreach ($params as $param) {
                EmailServiceParameterConfig::storeConfig($id, $param);
            }
            unset($config['parameters']);
        }

        return parent::storeConfig($id, $config);
    }
public static function storeConfig($id, $config)
    {
        if (isset($config['parameters'])) {
            $params = (array)$config['parameters'];
            EmailServiceParameterConfig::whereServiceId($id)->delete();
            foreach ($params as $param) {
                EmailServiceParameterConfig::storeConfig($id, $param);
            }
            unset($config['parameters']);
        }

        return parent::storeConfig($id, $config);
    }
{@inheritdoc}