Uncommented marking mail as read when processed

This commit is contained in:
2025-01-02 17:28:26 +13:00
parent 48b8ae3528
commit 06eadf3ffd

View File

@@ -183,7 +183,7 @@ def process_attachments(mailbox, attachment_path, saved_hashes, xml_docs,
csv_to_xml(final_path, xml_path, dtd_path, csv_mapping) csv_to_xml(final_path, xml_path, dtd_path, csv_mapping)
else: else:
logging.info("Skipped duplicate attachment: %s", att.filename) logging.info("Skipped duplicate attachment: %s", att.filename)
#mailbox.flag(msg.uid, '\\Seen', True) mailbox.flag(msg.uid, '\\Seen', True)
def main(): def main():
"""Code entrypoint.""" """Code entrypoint."""