Added basic smtp config support