One way to use system configuration value in the template is to get that value before sending the email and that value will be passed as a variable. But Magento 2 also provides a direct way to use system configuration value in templates.
Learn Magento 2: How to Get System Configurations Value in Email Templates
Attachment 15496
For More Details: https://magecomp.com/blog/magento-2-...ail-templates/