Gravar-mail: Exploring causality mechanism in the joint analysis of longitudinal and survival data