I need to download a PDF attachment from a personal Outlook or Gmail account, but I’m currently unable to establish a connection with either. However, I am able to connect and successfully download attachments using the Outlook desktop application on my local machine.
Please let me know if there’s a recommended approach or workaround for accessing personal email accounts in this case.
download a PDF attachment from a personal Outlook or Gmail account need to connect Gmail via IMAP or use the Gmail API package (for personal Gmail accounts).
IMAP Approach:
Enable IMAP in Gmail settings.
Allow Less Secure Apps or configure OAuth.
Activities to Use:
Get IMAP Mail Messages
Save Attachments.
If still facing issue share screenshot for better understanding and provide appropriate solution
Keep Outlook app open and signed in. Use Get Outlook Mail Messages to read emails. Set Account to your email or leave it blank. Loop through the messages. Use Save Attachments to download files. Check if the file ends with .pdf before saving.
If you found helpful please mark as a solution. Thanks
Happy Automation with UiPath
You can use Outlook or Google integration service to set up a connection in Orchestrator.
Once your connection is established you can perform many actions as needed.