read smtp configuration from environment