sent and inbox functionality - initial