jessfraz / gmailfilters

A tool to sync Gmail filters from a config file to your account.
MIT License
548 stars 34 forks source link

construct query from all criteria on export #6

Closed seankhliao closed 1 year ago

seankhliao commented 5 years ago

In an export this reconstructs a query from all the individual criteria fields made in the ui

pryorda commented 5 years ago

@seankhliao @jessfraz Do you two think it would be better to make the filter struct mimic the struct here https://github.com/googleapis/google-api-go-client/blob/master/gmail/v1/gmail-gen.go#L496,L590, not completely, but as a close as possible to get all the attributes for Action and Criteria?