how to extend OutboundEmailConfiguration into custom folder?

Hello,

When we sudo login with users it create 1 duplicate record outbound_email entry. So when we check email listing it will show multiple recipients. I want to customize core module OutboundEmailConfiguration but It is not working when I extend it into custom/module/OutboundEmailConfiguration.

Kindly Suggest how I extend OutboundEmailConfigurationPeer.php file in custom module or suggest me any other way to do it.

Thanks in advance.

Regards,

Kavita

.