Add folderfilter (#4)

This commit is contained in:
Gerrit Oomens 2021-05-24 08:55:08 +02:00 committed by GitHub
parent 07866925db
commit 1c615cdd15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,3 +37,9 @@ oauth2_refresh_token = <the contents of the refresh_token file from step 2>
```
Note: in practice you should store your token in some type of secure key store.
Optionally you may want to include
```ini
folderfilter = lambda folder: not folder.startswith('Calendar') and not folder.startswith('Contacts')
```
to filter out folders containing non-mail items.