Email Record: Layered learning in multiagent systems