2

I'd like to retrieve all mail filters list of a given google account and eventually delete some of them.

I've found only the API for adding filters, but not the ones for listing and deleting. I think it's strange but I am not able to find that APIs,

4

1 回答 1

3

You are correct. There is no API call to export / retrieve Gmail filters. You can only create filters via the Email Settings API. The user can export their filters from the UI though:

http://gmailblog.blogspot.com/2009/03/new-in-labs-filter-importexport.html

于 2012-12-31T13:25:35.880 回答