replace message object with inbox