script / method to delete mails having certain words in inbox of gmail ?

1,789 views
Skip to first unread message

Karthik Balaguru

unread,
Jul 9, 2011, 6:03:07 AM7/9/11
to Gmail-Users
Hello everybody,

Is there any script or any method to delete mails with
a particular word from the inbox ?

The particular word shall be present either in the subject
of the mail or in the body/contents of the mail in inbox.

Thx in advans,
Karthik Balaguru

Yusuf Rampurawala

unread,
Jul 9, 2011, 6:35:36 AM7/9/11
to gmail...@googlegroups.com
In order to delete mails with a particular word in subject/body/sender etc., try creating a filter and move/mark it with the any existing label( or u may choose your own label name by creating a new one) then delete all mails from the newly created label. Hope it helps!!!


-------
"Happiness is not a goal, it is a by-product."



Regards,

  YUSUF RAMPURAWALA
(Chartered Accountant - Student)

 
-------
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete
the original. Any other use of the email by you is prohibited.





--
You received this message because you are subscribed to the Google Groups "Gmail-Users" group.
To post to this group, send email to gmail...@googlegroups.com.
To unsubscribe from this group, send email to gmail-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gmail-users?hl=en.


Nick Chirchirillo

unread,
Jul 9, 2011, 8:44:38 AM7/9/11
to gmail...@googlegroups.com
You can skip the labeling part and simply have the filter delete the emails that contain the particular word.  May I ask why you want to delete these emails?  Are they spam?  If so, the better option would be to mark them as spam so that Gmail will learn that you don't want them on it's own, then you don't have to create a filter at all.

--
Nick Chirchirillo
nickchich.com
Reply all
Reply to author
Forward
0 new messages