Hi @Anonymous ,
I think there is a small correction to the condition’s syntax in search query.
Replace $search="subject:Request***" AND "from:test@test.com" AND to:test@test.com”
With $search="subject:Request*** AND from:test@test.com AND to:test@test.com"
Put all conditions within "" not like $search=”condition1” AND “Condition2” AND “condition3”
Response with AND conditions in search query:
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".