Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any workaround or way to filter or search for messages that have no subject line?

I can see there is no way to filter messages when some field is "missing".

share|improve this question

migrated from superuser.com Jun 27 '11 at 12:04

This question came from our site for computer enthusiasts and power users.

did you try "subject:(no subject)" – Umair Ashraf Jun 27 '11 at 12:00
yes, it doesn't give any results – eigenein Jun 27 '11 at 12:21
I have found this suggestion: google.com/support/forum/p/gmail/… but it did not work in my case. Give it a go – Dmitry Selitskiy Jun 27 '11 at 13:03
This suggestion doesn't work too. I've found that this subject with '' value is simply ignored/removed from filter. – eigenein Jun 27 '11 at 19:45
they might have patched up that hole then – Dmitry Selitskiy Jun 28 '11 at 0:21
up vote 2 down vote accepted

Currently there is no way to filter by email that is missing x (subject,labels etc)

You could however suggest it via link

MY REF: link

share|improve this answer

You can consider writing a Google Script that will extract all emails with blank attachments. The script will be something like this:

 var thread = GmailApp.getInboxThreads(0,1)[0]; 
 var message = thread.getMessages()[0]; 
 if (message.getSubject() == "") {
share|improve this answer

subject:(subject:"") does the trick for me

share|improve this answer
That simply returns all messages with the word "subject" in the title, including those that say "no subject", but also those with "test subjects needed". – gerrit Feb 13 '13 at 17:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.