I'd like to do a search in my Gmail to find out the mails that I sent without reply.
I tried this, but it doesn't work:
it seems that the 'has' operator only accept :attachment
Is there a way to search the un-replied mails?
I wanted to move all the mails I had sent to people and had not received a reply, into a label in Gmail. After trying different queries for an hour, I realised multiple queries would do the trick. And this worked for me.
1. Search for
in:inbox to:me category:personal
Select all conversations that match this search, and Label as: Create new Label → Replied
2. Search for
in:inbox from:me -label:replied
Select all conversations that match this search, and Label as: Create new Label → NoReplyPlusChats
3. Search for
Select all conversations that match this search, and Remove Label NoReplyPlusChats → Apply
4. Rename Label NoReplyPlusChats to NoReply
5. Delete Label Replied
Now all your un-replied mails have the label: NoReply
(NOTE: Label NoReply would still contain your synced notes from smartphones, Apple Notes etc.)
Just a few years late, but I wrote a Gmail plugin to help with this. It's been pretty popular so far and is probably used by thousands of people by now. You can find instructions for it here: http://jonathan-kim.com/2013/gmail-no-response/
It does a more sophisticated look up of who hasn't replied to your email, and you can tweak it to be even more effective to your use case.
None of the previous answers worked for me. Searching for
-subject:re and equivalents seem to match EVERY conversation. I believe this is because that search is positive for the first message in the conversation (which does not have "Re:" in the subject line).
What works for me is:
The logic here is that the first search will find all of the conversations with a reply. The second will then exclude those - leaving the messages without replies.
-from:me addresses a corner case where I'm searching a bunch of emails, sent NOT from me, to multiple recipients, and I want to find the ones NOBODY has replied to. Without the
-from:me the results will for some reason include conversations where I am the only person who has replied. Adding this would not be appropriate in answering the original question, where the person wanted to find emails he had sent (which this would exclude) and had not received a reply to.
Alas, it is still not perfect. I create and apply the filter ("to matching conversations") and all is good. Then new replies come in and they don't seem to be added to the label...so I have to go back in like I'm editing the filter and re-apply it to catch the latest messages.
Based on Ophir’s answer (I'm not sure if it’s possible to merge answers—I'm sure someone will pop along if neccessarily).
-subject:"re:" as mentioned—I labeled all such messages reply. (Has to be a filter because you want to label the thread not the reply.)
The search string I then had to use was:
-label:reply (from:myEmail OR from:myOtherEmail) -(variousKeyWordsThatSpecifySelfMails OR ect) -(to:myEmail OR to:myEmail)
Also—I'm afraid I'm not quite answering the OP—this will find all single emails that didn't get a reply. If someone emailed me, and I emailed back, and then there was no reply—that won't be found...
alternatively one could also count the number of threads and if the last item in a thread is you then there was no response yet, this was automatized by this script here: https://github.com/hijonathan/google-scripts/blob/master/gmail-no-response.js