Add a helper to extract mbox messages