Remove local exception handling for IMAP operations to ensure script exits on any server failure (e.g., auth, connection, search errors). This allows systemd OnFailure to notify on fixable issues. Changes: - Remove try-except in check_duplicate, sync_folder, sync_all_folders - Let IMAP exceptions propagate to main() for exit(1) |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| email_forwarder.py | ||