This is a small assignment but it can result in ongoing work.
I am trying to download some emails from Gmail via IMAP. I have the code written and it works with most emails but a few of the emails have unusual behavior.
1) One of the emails says it doesnt have an attachment even though I see that it does in gmail.
2) Another attachment that is downloaded shows /0 in front of every character when I try to parse it with a reader even though if I open it in notepad, it shows up normally.
I can provide the code snippet that I wrote as well as access to the gmail inbox.