Email Record: Dynamic programming of economic decisions