making view sent and inbox messages