delete the message when we retrieved it
one copy per message
return the message ids according to insersion order
we can exclude message ids when retrieve all