I have imported several thousand messages into my Gmail account over IMAP, but in the Gmail interface and the iPhone Mail application the date of every message has been changed to the date of the import, rather than the original receipt date.
If I open one of the messages however, the correct date is shown and the email headers appear to remain intact.
How can I correct this issue?