From 65e8d9864621e50974f0ccb237878b756b3c2178 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Wed, 10 Apr 2024 17:26:01 +0200 Subject: [PATCH] move param --- imap2md/export-imap-notes.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/imap2md/export-imap-notes.py b/imap2md/export-imap-notes.py index 8238b94..5cd6cbe 100644 --- a/imap2md/export-imap-notes.py +++ b/imap2md/export-imap-notes.py @@ -7,6 +7,7 @@ import os username = "" password = "" imapserver = "" +N = 500 if not os.path.isdir('notes'): os.mkdir('notes') @@ -14,9 +15,6 @@ if not os.path.isdir('notes'): def clean(text): return "".join(c if c.isalnum() else "_" for c in text) -# number of top emails to fetch -N = 200 - imap = imaplib.IMAP4_SSL(imapserver) imap.login(username, password)