Тестовое приложене готово

This commit is contained in:
2025-11-01 21:56:30 +03:00
parent 093b29e16c
commit 22bdcafc59
9 changed files with 510 additions and 48 deletions

View File

@@ -15,7 +15,7 @@ if __name__ == "__main__":
imap_port=os.getenv('IMAP_PORT'),
smtp_port=os.getenv('SMTP_PORT')
)
emails = email_client.get_emails(folder='spareparts', only_unseen=True, mark_as_read=True)
emails = email_client.get_emails(folder=self.config.email_dir, only_unseen=True, mark_as_read=True)
for email in emails:
print(email.subj)