2016-07-12 21:31:33 +00:00
|
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'>
|
2016-07-12 18:58:57 +00:00
|
|
|
<author>
|
|
|
|
<name>{{ name }}</name>
|
|
|
|
<email>{{ email }}</email>
|
|
|
|
</author>
|
|
|
|
|
|
|
|
{% for filter in filters -%}
|
|
|
|
<entry>
|
|
|
|
<category term='filter'></category>
|
|
|
|
<title>Mail Filter</title>
|
|
|
|
<content></content>
|
|
|
|
<apps:property name='shouldArchive' value='{{ filter.isArchive ? 'true' : 'false' }}'/>
|
2016-07-12 21:15:03 +00:00
|
|
|
<apps:property name='shouldNeverSpam' value='{{ filter.isNeverSpam ? 'true' : 'false' }}'/>
|
2016-07-12 18:58:57 +00:00
|
|
|
<apps:property name='shouldTrash' value='{{ filter.isTrash ? 'true' : 'false' }}'/>
|
|
|
|
{% for condition in filter.conditions -%}
|
|
|
|
<apps:property name='{{ condition[0] }}' value='{{ condition[1] }}'/>
|
|
|
|
{%- endfor %}
|
|
|
|
{%- for label in filter.labels %}
|
|
|
|
<apps:property name='label' value='{{ label }}'/>
|
|
|
|
{% endfor %}
|
|
|
|
</entry>
|
|
|
|
{% endfor %}
|
|
|
|
</feed>
|