Someone has written a script too - https://blog.alan.lt/2020/01/fix-emails-date-time-after-migration-to.html
Ah yes, that's the script I used. 😉
I will investigate more tomorrow. Maybe we can fix up mail data timestamps post restoring.
Thanks Girish! Definitely seems like this is a low priority issue given that nobody else using Cloudron has run into this yet, but its also likely something that will come up again as Cloudron grows with more users, and would be great to see that handled in Cloudron automatically, making things easier for the admin users. 🙂