move smtp conf to file system stored conf file, move email to its own class