Not in the least surprising. Wouldn't be surprised if Gmail does this to..."detect phishing" (pdfs containing phish links are common). Always a plausible reason they can use.
If you search for a text string in Gmail, it will return emails that contain that text only in scanned images or PDFs that are in your mailbox.