Gravar-mail: Optimal periodic closure for minimizing risk in emerging disease outbreaks