Gravar-mail: Closed loop control for type 1 diabetes