I'm not so sure how to post images here, so I drew it in chemdraw and pasted it into a paint file and saved as JPG. The mechanism I am thinking of is the substitution of the chloro group with 2-mercaptoethanol, the N is electron withdrawing so there is a partial postitive charge at the carbon for the OH ion to attack, the hydrogen bonding from the OH on the 2-mercaptoethanol makes the sulfur a good leaving group, resulting in the product. However, the problem with this mechanism is that given reaction conditions, I'm not sure what the source of the hydroxide ion is, its most likely from the sodium methoxide, but how?