# Creating a filter in Gmail that uses greater than one tag

I've been making use of Filters for some time in Gmail yet have actually constantly been asking yourself if such an attribute is readily available. Is it feasible to in some way have a Gmail filter use greater than one tag?

As you can see below, the filter arrangement web page just permits picking one tag:

If it ends up that it is difficult to define greater than one tag, I presume I'll simply need to create replicate filters.

0
2019-05-09 11:03:33
Source Share

According to this Google Groups post, it is not feasible :

Unfortunately, a filter can just use a solitary tag. If you intend to use greater than one you require to create greater than one filter, with the very same search standards.

0
2019-05-10 06:56:59
Source

No, there is no other way to do this.

Yet, you can make use of filter import/export attribute in Gmail to duplicate a regulation after that transform the used tag.

2. Go to Settings > Filters
3. Check the checkbox alongside your new filter
4. Click Export near the bottom, this will certainly create an xml documents called mailFilters.xml
5. You need to have a documents that resembles this :

<?xml version='1.0' encoding='UTF-8'?>
<title>Mail Filters</title>
<updated>2010-07-14T20:24:10Z</updated>
<author>
<name>John Smith</name>
<email>[email protected]</email>
</author>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<updated>2010-07-14T20:24:10Z</updated>
<content></content>
<apps:property name='from' value='[email protected]'/>
<apps:property name='label' value='the_label'/>
</entry>
</feed>


All you require to do is to meticulously modify this XML documents in an editor which can smartly take care of plaintext.

Replicate the code from <entry> and also paste it in quickly after the first one. I got rid of the <id> and also <updated> areas and also they still functioned, a lot of right stuff in there is optional. Replicate and also paste a couple of even more times, and also you've obtained the outcome you desire.

This benefited 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>
<updated>2010-07-14T20:24:10Z</updated>
<author>
<name>John Smith</name>
<email>[email protected]</email>
</author>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<updated>2010-07-14T20:24:10Z</updated>
<content></content>
<apps:property name='from' value='[email protected]'/>
<apps:property name='label' value='the_label'/>
</entry>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<content></content>
<apps:property name='from' value='[email protected]'/>
<apps:property name='label' value='another_label'/>
</entry>
</feed>


Save your documents after that click Import filters` on the very same Settings > Filters web page and also you will certainly have the alternative of which of the had filters you intend to add.

0
2019-05-10 05:28:35
Source

Related questions