Gravar-mail: Calibration and measurement control based on Bayes statistics