Gravar-mail: On-chip CMOS-compatible all-optical integrator