I don't want to receive e-mails, what should I do? In the currentMeasurement function, delete (or comment out) the line with the mail command.