Hello Community ,
First of all , a pleasure to greet you peeps !
Being that said I would need your help with the following.
I am currently drafting an automation that aims to capture a specific file from an email from my Gmail inbox and then , ideally , download it and store it to a specific folder.
So far , while using Gsuite package I´ve been able to configure the scope with no major problems and I can see the auth going thru just fine.
When it comes to reading the messages and downloading the files I am now facing some issues . Here´s what I´ve done so far :
I have my getMail acitivity configured with its parameters which results on an output which I´ve named MAIL (it is a GmailMessage variable )
After my getMail I am including a FOR EACH loop and whitin my FOR EACH body I added the SAVE ATTACHMENT activity.
Inside the latter I´ve specified that for each mail whithin my Mails the attachment is to be saved on a given folder but when it comes to the dubbuging process I get the follow error :
Error de validación Se encontraron errores del compilador al procesar la expresión “mail”.
Un valor de tipo ‘1-matriz dimensional de UiPath.GSuite.Models.GmailMessage’ no se puede convertir en ‘System.Net.Mail.MailMessage’. Main.xaml
A quick translation would be : A type 1-dimmensional matrix from UiPath.GSuite.Models.GmailMessage cannot be converted to a System.Net.Mail.MailMessage
I´ve specified in my FOR EACH TypeArgument that I will be passing a GmailMessage as shown below :
Still I am getting the same error. Any idea on how can I solve this ?
Thanks in advanced for your time.