pseudo for how to manage the inbounce email