had you tried:
mailVariable.ReceivedDateTime
when working with UiPath.MicrosoftOffice365.Acitivites version 1.11.1 then also
mailVariable.Headers will be empty
When updating to one of the next preview version e.g. 1.13.0-preview Headers is populated
Enabling preview versions we can do: