Downloads images from a we page and saves these in a folder
Uploads these images to a Google drive
Gets an html text, replace some placeholder text with the images’ URL, and create an html body
Sends this via Gmail using GSuite Application scope and a service account (since we’re using corporate domain)
When I run this in my local unit (since it’s where I built it), it runs properly and the images load correctly in the Gmail.
However, when I know put this in our AWS repository and run it from there, it still sends the email but with no images. I checked the Gdrive repository and images aren’t being uploaded.
I also tried logging in my Gmail account in the server, but still the same problem. What could be causing this issue?
Also, is there a way to build the html body without uploading it first in gdrive, and running it only in background?
Thanks for the reference! I’m not that much familiar with tech jargons, and will let our IT team need this.
But overall, since this is being ran in an AWS server, I can’t use my generated Gsuite service account in JSON format in the same way I use it in my local unit, correct?
I can still send emails using GSuite application to scope though, but just not upload images in a google drive repository. As much as possible, I actually want to do this without IT intervention since they’re a very busy team. Would you have any other recommendations on how to send images via gmail corporate domain without necessarily uploading them in google drive first?
To my knowledge, Those are two separate services(drive and mail), It’s better to check with the Gsuite admin team, because they only check whether the required permissions are allowed to AWS or not
If I’m able to manually go in the AWS server, open my google drive and upload an image from AWS to gdrive, does this mean that it’s currently set in AWS to allow access to drive, or should I still confirm it with the admin team if UiPath is allowed to do this activities?
I tried this and several other approaches as well, and they work greatly with Outlook desktop app. But unfortunately, we use Gmail web app and this doesn’t work, sadly.