I want to filter all Drive comment notification emails for a couple particular docs to get a particular label? Is this possible?

I had hoped that either searching for the 34-character ID from the URL would match the email since there are links to Drive from the email, but for some reason that doesn't match no matter how I quote it. The doc title alone isn't unique enough for a reliable filter in this case.

The email metadata for these looks something like

Subject: Taco party p... - [email protected] Could you clarif...
From: "Jennifer (Google Sheets)" <[email protected]>
Jennifer added a comment to the following document
Taco party planning (<doc URL>)
<comment and details>
  • I'd say the most important part of this question is that "The doc title alone isn't unique enough".
    – ahorn
    Commented Oct 9, 2019 at 14:17
  • Why? You're saying the solution should just be rename my and other people's docs to something I can match in filters? And really it's that the truncated prefix of the title that shows up in the subject line isn't unique enough, which happens a lot when you only have 2 or 3 words of entropy to work with.
    – Mu Mind
    Commented Oct 9, 2019 at 23:36
  • I'm just saying that the solution would be easy if you could use the title of the e-mail. I'm not saying you should change the name of the doc.
    – ahorn
    Commented Oct 10, 2019 at 5:30
  • Yeah, unfortunately the subject alone doesn't seem like a reliable signal to me which is why I was looking for something based on the doc ID. Edited the question to add a concrete example for reference, although there are a few different types of email notifications you can get for a doc that all look a little different that make it especially challenging.
    – Mu Mind
    Commented Oct 10, 2019 at 15:16
  • 1
    Fair question. The reply-to is a long hash like d+xyz123XYZzyx321ZYX-aAa123BbB456cCc78987y98y7a2f897ya9aWEFiuW9aaw98hfwaLKUawe@docs.google.com.
    – Mu Mind
    Commented Oct 10, 2019 at 23:27


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.