Spin-boson model under dephasing: Markovian versus non-Markovian dynamics | Synapse