Sorry for incompilable code :)
Config.smtp and smtp is the same config object, I am just a bad copypaster.
Config.smtp
smtp