I have a script that access a mailbox, retrieves mails and reads the attachments. Based on the cell value in the attached files the mail needs to be moved to a different internal mail folder.
Sheet1 - A1 has 0 then the mail needs to be moved to folder A
A1 has 1 then the mail needs to be moved to B
The above logic works until there are 2 attachments with ( 1 & 0 )
then the script moves the folder to B
I am exploring to see if there is a way to route it to A in case there is even 1 file with cell value 0