Josephson effect in a junction coupled to an electron reservoir | Synapse