download linked report from email

Using the email nodes, I’ve created a workflow that goes into my email, finds a repot that was sent, using regex to get the download URL, then pass the URL to a GET request and then take the binary download and move to a folder, and finally move the email out of the specific folder to another in email. This process has been working for quite some time, then stopped working. This is to download amazon advertising files. It is no longer downloading the file. If I manually copy the URL that was extracted form the email and paste into my safari browser, the download happens as intended. However, now when passing through the get request, it’s no longer working. The body is no longer binary. I’ve researched and the closest answer I get is from chatgpt that says there is a possibility that cookies / credentials need to be passed through. It’s important to point out that the email was able to be read as plain text (vs html), which for some reason no longer passes as plain text (i assume amazon changed something on their side?). In any event, I changed the workflow from:

to this:

Where I extract the URL from the HTML body, where I use XPATH to get the URL. Same as above, I can get the URL, copy into browser, and it works (file downloads). HOwever, when running through get, doesn’t work. I then wrote a python script (with help of chatgpt) that executes properly according to the node, but the file isn’t downloading. IN any event, has anyone had any experience with downloading emails with embedded download links (vs. actual attached files) through platforms typically requiring dual authentication?