Passing in the correct config to that.transport

It was using the email options and the config options