Email Record: Shaping Action Sequences in Basal Ganglia Circuits