Made cloud profile read smtp host from env first, then properties.