Bản ghi email: A solution to the learning dilemma for recurrent networks of spiking neurons