Call ensure_folder_exists before check_duplicate to select the dest folder, allowing IMAP SEARCH to work in SELECTED state. Changes: - Move dest.ensure_folder_exists(folder) before check_duplicate in process_email - Add logging to check_duplicate for debugging |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| email_forwarder.py | ||