Gravar-mail: Improved inference of time-varying reproduction numbers during infectious disease outbreaks