From 1c615cdd151ddff5316d2d369afb3dace8747e5e Mon Sep 17 00:00:00 2001 From: Gerrit Oomens Date: Mon, 24 May 2021 08:55:08 +0200 Subject: [PATCH] Add folderfilter (#4) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 9fa9f8e..ab77e83 100644 --- a/README.md +++ b/README.md @@ -37,3 +37,9 @@ oauth2_refresh_token = ``` 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.