modified sqimap_expunge to return the number of expunged messages and to