Gravar-mail: Modeling immune response and its effect on infectious disease outbreak dynamics