No, there is no way to do this.
But, you can use filter import/export feature in Gmail to clone a rule then change the applied label.
- Create your filter
- Go to Settings > Filters
- Check the checkbox next to your new filter
- Click
Export
at the bottom, this will create an xml file called mailFilters.xml
- You should have a file that looks like this:
<?xml version='1.0' encoding='UTF-8'?>`
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'>
<title>Mail Filters</title>
<id>tag:mail.google.com,2008:filters:11344473557977</id>
<updated>2010-07-14T20:24:10Z</updated>
<author>
<name>John Smith</name>
<email>test@gmail.com</email>
</author>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>tag:mail.google.com,2008:filter:1131773557977</id>
<updated>2010-07-14T20:24:10Z</updated>
<content></content>
<apps:property name='from' value='foo@example.com'/>
<apps:property name='label' value='the_label'/>
</entry>
</feed>
All you need to do is to carefully edit this XML file in an editor which can intelligently handle plaintext.
Copy the code from <entry>
and paste it in immediately after the first one. I removed the <id>
and <updated>
sections and they still worked, so much of the stuff in there is optional. Copy and paste a few more times, and you've got the result you want.
This worked for me:
<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'>
<title>Mail Filters</title>
<id>tag:mail.google.com,2008:filters:11344473557977</id>
<updated>2010-07-14T20:24:10Z</updated>
<author>
<name>John Smith</name>
<email>test@gmail.com</email>
</author>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>tag:mail.google.com,2008:filter:1131773557977</id>
<updated>2010-07-14T20:24:10Z</updated>
<content></content>
<apps:property name='from' value='foo@example.com'/>
<apps:property name='label' value='the_label'/>
</entry>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<content></content>
<apps:property name='from' value='bar@example.com'/>
<apps:property name='label' value='another_label'/>
</entry>
</feed>
Save your file then click Import filters
on the same Settings > Filters page and you will have the option of which of the contained filters you want to add.
All the donation I received through PayPal in the past were using the subjet
Notification of donation received
Couldn't you use it? Otherwise, you can use the Has the words
filter and put the words paypal donation
. It's not a bullet proof filter, but it should work in most of the cases.
Best Answer
No, I'm afraid there isn't. Filters only work on a relatively small set of properties; number of replies isn't one of them.
I suppose a script built in Google Scripts might be able to find and label conversations based on number of replies, but there's not a way to do it with Gmail all by itself.