Gravar-mail: Exploiting temporal relationships in the prediction of mortality