public function setFromConfig(EmailConfig $config)
    {
        foreach (['title', 'content', 'address'] as $attribute) {
            $this->owner->$attribute = $this->prepareString($config->$attribute);
        }
    }