archivemail 0.9.0 (new formula)

previously discussed in #13288
Looks like you could manually write out a e.g. mbox file and operate on that instead.