Please help with error during restore: Error: IMAP: APPEND command error: BAD ['Could not parse command']

Hi, I am trying to restore my emails to a new gmail account. I get this error every time at the same exact spot in the progress. The error is:

Error: IMAP: APPEND command error: BAD ['Could not parse command']

The folder of .eml files was created by Gmail Backup 0.107 and i am trying to use the same version to restore the backup.

Can anyone help? THANK YOU!