GAM-team / GAM-team/got-your-back
Feature Request – Header Cleanup
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.1k
- Forks
- 245
- PR merge metrics
- No merged PRs in 30d
Description
I confirm I have upgraded to the latest GYB release from https://github.com/jay0lee/got-your-back/releases and I still have this issue. I confirm I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/got-your-back/wiki
**Full steps to reproduce the issue:**
1. Export Inbox:
_gyb --email abc@xyz.com --service-account --action backup_
2. Restore Inbox to another account:
_gyb --email archive@xyz.com --action restore --local-folder "C:\GAMADV-XTD3\GYB-GMail-Backup-abc@xyz.com" --service-account --label-prefix "ABC's Emails"_
**Expected outcome (what are you trying to do?):**
Restore ABC's emails to archive@xyz.com
**Actual outcome (what errors or bad behavior do you see instead?):**
> _restoring 15 messages (74/28498)
> ERROR: 400: Expected a single 'From' header. Skipping message restore.
> ERROR: 400: Expected a single 'From' header. Skipping message restore.
> restoring 17.1mb message (75/28498)_
**A Header Cleanup feature would be greatly appreciated!**
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the restore with the documented gyb backup and restore commands, using the sample accounts and label prefix in this issue. Investigate how GYB handles messages that produce “Expected a single 'From' header.” Done should include a defined header-cleanup behavior and successful restoration of affected messages without those errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100