Spectro-spatial evolution of the CMB I: discretisation of the thermalisation Green's function