Merge function for deleting all messages of a mailbox