Registre de correu electrònic: An Automated Behavioral Rehabilitation System for Long-Term Patients