This doesn't handle the case where total isn't present on all parts, but
I don't actually expect to encounter that (and if I do, it will crash
and I can fix it).
Parses all mbox files on the command line and extracts message ids from
Message-Id, In-Reply-To and References headers.
Just a test script to see what message ids look like in practice.