ranlp , you should also take the Full Transient Error and see if we get more details, see the transcript that I put above.
For the email duplication, yes, is probably because of the ALL MAIL folder in GMAIL (that it is like a copy of your all Gmail mails) which is being copied to O365 Mailbox in the Archive Folder. You can probably hide the ALL MAIL from IMAP protocol on Gmail settings or you can exclude the folder when you create the Migration Batch in O365 EAC. Also, IIRC, if an email in Gmail has multiple labels, it will likely be copied to each folder tagged for. Then there were emails without any label in Gmail, for example Sent Items where the item is in that folder but not having a label for Sent Items, it will be copied in O365 both in Sent Items and Archive Folder.