We use the same Google Data[1] extensions to Atom[2] as does the Email
Settings API[3], plus a few extra properties.
If you look at an exported file, you will see a <feed> outer element
containing an <entry> element for each filter. Within the entry are
some standard Atom elements and then a series of <apps:property>
elements defining the various properties of the filter.
Please see the Email Settings API[3] page for an explanation of most
of those properties. The ones not defined there are:
- forwardTo: an email address that the filter should cause the
relevant email to be forwarded to. If this property is absent, no
forwarding is done.
- shouldStar: whether the filter should mark the email with a "star".
If this property is absent or "false," the filter does not star the
email.
- shouldTrash: whether the filter should move the email to the trash.
If this property is absent or "false," the filter does not move the
email to the trash.
- shouldNeverSpam: whether the filter should prevent the email from
being considered as spam. If this property is absent or "false,"
the filter has no effect on whether the email is considered spam.
[1] http://code.google.com/apis/gdata/overview.html
[2] http://www.atomenabled.org/developers/syndication/atom-format-spec.php
[3] http://code.google.com/apis/apps/email_settings/developers_guide_prot...