emails in the folder have attached emails in .eml format
run gym --action restore-mbox to restore those emails to a google workspace account.
Expected outcome (what are you trying to do?):
Trying to restore some old emails from an imap account in Apple mail .mbox to a google workspace account.
I am expecting all those emails to be uploaded including their attachments.
Actual outcome (what errors or bad behavior do you see instead?):
for any emails which have an attached .eml file, I am getting the following:
ERROR: 400: Expected a single 'From' header. Skipping message restore
Is it possible that this is a bug where the attachment is incorrectly being scanned as being part of the email, and the headers being picked up as such?
Edit: Ah- it looks like I haven't exported the mbox file from mac mail, but used the raw files. I need to export to mbx first. Will reopen with a better report/repro steps.
Full steps to reproduce the issue:
Expected outcome (what are you trying to do?): Trying to restore some old emails from an imap account in Apple mail .mbox to a google workspace account. I am expecting all those emails to be uploaded including their attachments.
Actual outcome (what errors or bad behavior do you see instead?): for any emails which have an attached .eml file, I am getting the following:
ERROR: 400: Expected a single 'From' header. Skipping message restore
Is it possible that this is a bug where the attachment is incorrectly being scanned as being part of the email, and the headers being picked up as such?