public void delete(final Mailbox mailbox) throws IOException
{
// purge all previously deleted objects
// TODO: we should not instantiate here
MessageDAO messageDAO = new CassandraMessageDAO(keyspace);
messageDAO.purge(mailbox, new Date());
// delete all objects from object store
try {
List<UUID> messageIds = null;
UUID start = null;