Notes Migrator for Exchange is setup to migrate to Office 365 with the "Using Microsoft Online Services Directory Synchronization" option selected, indicating that local Active Directory is in use. When the Provision/Merge process is an, the "mail" attribute on the user object is overwritten by the "targetAddress" value that was on the contact object.
NME version 4.8 and later have been enhanced with a new parameter to preserve the "mail" attribute in Active Directory:
[Exchange]
O365DirsyncPreserveADAttrMail=<#>
Determines whether the Provisioning Wizard should preserve or overwrite the AD mail attribute (if any) when merging a CMN-created contact with an AD principal whose mail attribute is not empty. For example:
O365DirsyncPreserveADAttrMail=1
... tells the Wizard to preserve any existing AD mail attribute. By default (0), the attribute is overwritten.