I am using Gmail activity to read emails and download attachments in my local machine. I want to check if a specific word (e.g, invoice) appears in PDF, then move it to INVOICE folder and if it contains QUOTATION then move it to quotation folder.
Note: Invoice and Quotation words will be in PDF contents (not the name of the file)