Electrochemically controlled release