using smtp and other stuff