Path integral Lindblad master equation through transfer tensor method & the generalized quantum master equation | Synapse