Reagents and conditions: a Amine (0.2 mmol) and acid chloride (0.21 mmol) in DMA (4 mL), in an undivided cell with carbon cloth (anode) and platinum (cathode) using 5 mA current. b 1 mA, 18 h; c 10 mA, 18 h; d 6 h; e 2 mA, 16 h; All yields refer to isolated yields; dichlorinated product in parenthesis.