Encountered an issue with attachment URL.
api.tools.parse_attachment_url parses URL incorrectly, so wrong URL is formed, causing attachment base64 to be bloated (about 1.1 MB) and having wrong content. In result files are bloated (1KB turns into ~1MB) and invalid.
Seems like something changed on Gmail side, currently url parts look like this:
Encountered an issue with attachment URL.
api.tools.parse_attachment_url
parses URL incorrectly, so wrong URL is formed, causing attachment base64 to be bloated (about 1.1 MB) and having wrong content. In result files are bloated (1KB turns into ~1MB) and invalid.Seems like something changed on Gmail side, currently url parts look like this:![image](https://user-images.githubusercontent.com/80320992/215736632-d9e22a35-36bf-4da9-8683-5e96f9d0a3b4.png)
This change should fix it (tested locally):![image](https://user-images.githubusercontent.com/80320992/215738358-7c1851e7-b4df-4b12-84ba-efa3c52ef6af.png)