Passing in the correct config to that.transport

It was using the email options and not the config options.