Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

This question already has an answer here:

Does anybody know how to configure this filter in Gmail?

I've tried various things like just having quotes, (no subject), subject:(no subject), etc.

I realized that doesn't work because when you look at the headers of an email with "no subject" in the subject line, the actual subject header line is completely missing.

I even exported a filter, edited the xml, then re-imported it taking out any characters from within the value='' line. doesn't work either.

share|improve this question
add comment

marked as duplicate by Al E., Alex, Jacob Jan Tuinstra, Eight Days of Malaise, OnenOnlyWalter Jul 5 '13 at 6:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 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() == "") {
    Logger.log(message.getID());
 }
share|improve this answer
add comment

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