Is it possible to send an e-mail only but leave the socket turned on?

Yes. In the currentMeasurement function, delete the shutDown() function call.

Ask for a price or technical parameters

For device testing use name/password demo/demo