Hi Sabelo,
You don't have to do anything, system will automatically fetch from the list the correct Mail Configuration, based on the Company field.
More specifically, when you duplicate a Mail Config, system will automatically populate the Company field, and then will use this config for every email related to that specific company (or any other sub-company defined in MasterData).
Bogdan