Gravar-mail: Testing, tracing and isolation in compartmental models