When parsing msg with valid Disposition-Notification-To or Return-Receipt-To the Recipient is not filled correctly. I assume the same applies to Return-Path.
Sample header: Disposition-Notification-To: Fname Lname <[email protected]>
Expected: Recipient{name='Fname Lname', address='[email protected]', type=null}
Actual: Recipient{name='null', address='Fname Lname <[email protected]>', type=null}
The problem happens in OutlookEmailConverter.parseHeader(String headerName, String headerValue, EmailPopulatingBuilder builder) where the header value is passed to EmailPopulatingBuilder.withDispositionNotificationTo(String address).