Gravar-mail: Fault detection agents based on wavelet adaptive thresholds