Fixed a bug with smtp settings not being propagated into transport