Email Record: Compartmental modelling, semi-Markov theory and implementation /