In OutlookMessage, in the method setProperty, all the following properties are considered to identify the sender email address, leading to setFromEmail:
- 0xc1f - Sender email
- 0x65 - Sent repr email
- 0x3ffa - Creator2, Last modifier name
(According to: fileformat.info, exchange server protocol)
I think that 0x3ffa property has to be excluded from this check, as the sender is not the same person as the creator/modifier of the msg file.
On top of this, even if the message contains all the above 3 properties, if one of them includes a value in X500 data, it will not be taken into consideration, as setFromEmail forces the value set to always contain "@".