[FIX] mail: more robust parsing of In-Reply-To/References (OPW 608919)