Email Record: Distributed computing in sensor systems