Gravar-mail: A hybrid algorithm for coupling partial differential equation and compartment-based dynamics