Gravar-mail: A Unified Dynamic Model for Learning, Replay, and Sharp-Wave/Ripples