title: Gmail filter "has words" - How to include multiple AND queries?
body: <p>I'm trying to filter our emails on Gmail that are:</p>
  
  <blockquote>
    <p>from: specific sender</p>
    
    <p>to: specific recipient</p>
    
    <p>subject: contains specific words</p>
  </blockquote>
  
  <p>I tried this filter:</p>
  
  <blockquote>
    <p>has words>> from:xxx@example.com AND to: yyy@yyy.com  --> this works by
    its own</p>
    
    <p>has words>> subject:(test AND demo)  --> this works by its own</p>
  </blockquote>
  
  <p>problem is - when I use them together, it doesn't work:</p>
  
  <blockquote>
    <p>has words>> from:xxx@example.com AND to: yyy@yyy.com AND subject:(test AND
    demo</p>
  </blockquote>
  
  <p>OR</p>
  
  <blockquote>
    <p>has words>> from:xxx@example.com AN subject:(test AND demo)</p>
  </blockquote>
  
  <p>How can I achieve the filtering I need?</p>