I see. It's in mbox format.
I have set mbox = 1 and it is able to parse the multiple messages. Thanks.
Is it safe to assume that for mbox format, the first line of the email is always "From
[email protected] somedatetime", while a non-mbox format always starts with "Return-path:
[email protected]"?