Gravar-mail: Mobile Phone-Based Pattern Recognition and Data Analysis for Patients with Type 1 Diabetes