AIEmailAutomationUtility 0.0.35__py3-none-any.whl → 0.0.36__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- AIEmailAutomationUtility/Process_Category.py +16 -12
- {AIEmailAutomationUtility-0.0.35.dist-info → AIEmailAutomationUtility-0.0.36.dist-info}/METADATA +3 -3
- {AIEmailAutomationUtility-0.0.35.dist-info → AIEmailAutomationUtility-0.0.36.dist-info}/RECORD +6 -6
- {AIEmailAutomationUtility-0.0.35.dist-info → AIEmailAutomationUtility-0.0.36.dist-info}/LICENCE.txt +0 -0
- {AIEmailAutomationUtility-0.0.35.dist-info → AIEmailAutomationUtility-0.0.36.dist-info}/WHEEL +0 -0
- {AIEmailAutomationUtility-0.0.35.dist-info → AIEmailAutomationUtility-0.0.36.dist-info}/top_level.txt +0 -0
@@ -396,18 +396,22 @@ class Process_Category:
|
|
396
396
|
csv_data_status = "Fail"
|
397
397
|
csv_data_response = f"-"
|
398
398
|
else:
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
399
|
+
val_mail_id = email_config.get('email')
|
400
|
+
val_mail_pass = email_config.get('password')
|
401
|
+
|
402
|
+
if val_mail_id != None and val_mail_pass != None:
|
403
|
+
action_taken = f"Saved the mail to the label: {LABEL}"
|
404
|
+
csv_data_status = "Success"
|
405
|
+
csv_data_response = f""
|
406
|
+
|
407
|
+
logger.log(f"Marking email as UNREAD. ")
|
408
|
+
# print(f"email_id: {email_id}, type: {type(email_id)}")
|
409
|
+
mail.store(email_id, '-FLAGS', '\\Seen')
|
410
|
+
mail.create(LABEL)
|
411
|
+
mail.copy(email_id, LABEL)
|
412
|
+
mail.store(email_id, '+FLAGS', '\\Deleted') # Mark for deletion
|
413
|
+
mail.expunge()
|
414
|
+
logger.log(f"Mail removed from inbox and added to '{LABEL}' label.")
|
411
415
|
|
412
416
|
current_timestamp = datetime.now().strftime("%Y-%m-%d_%H-%M-%S")
|
413
417
|
filename = f'{uid}{current_timestamp}'
|
{AIEmailAutomationUtility-0.0.35.dist-info → AIEmailAutomationUtility-0.0.36.dist-info}/METADATA
RENAMED
@@ -1,7 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: AIEmailAutomationUtility
|
3
|
-
Version: 0.0.
|
4
|
-
Summary:
|
3
|
+
Version: 0.0.36
|
4
|
+
Summary: Skip the logic of email and password authentication for uploading msg file.
|
5
5
|
Author: Proteus Technology PVT. LTD.
|
6
6
|
Author-email: <apps@baseinformation.com>
|
7
7
|
Keywords: python,first package
|
@@ -13,4 +13,4 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
13
13
|
Classifier: Operating System :: Microsoft :: Windows
|
14
14
|
License-File: LICENCE.txt
|
15
15
|
|
16
|
-
|
16
|
+
Skip the logic of email and password authentication for uploading msg file.
|
{AIEmailAutomationUtility-0.0.35.dist-info → AIEmailAutomationUtility-0.0.36.dist-info}/RECORD
RENAMED
@@ -4,12 +4,12 @@ AIEmailAutomationUtility/Email_DocumentUploader.py,sha256=BWNRt2X-E2HCogBaKDfl7c
|
|
4
4
|
AIEmailAutomationUtility/Email_Draft.py,sha256=TGLqV0yzXLIdBnRcEY3CgmcDJVgiP3LN1vLPXTBj5rY,8831
|
5
5
|
AIEmailAutomationUtility/Email_Read.py,sha256=_JwHTJZmxjuMPTbn90D9YStW7NSJd3t4R_cwUZ1tn20,31470
|
6
6
|
AIEmailAutomationUtility/Email_Upload_Document.py,sha256=3bdkxfDlwoeRp-46KPw2Gs1dqBhEIoA1yE5GCudpdV8,1320
|
7
|
-
AIEmailAutomationUtility/Process_Category.py,sha256=
|
7
|
+
AIEmailAutomationUtility/Process_Category.py,sha256=FtScGPRZfqE9zm2zauR6uT751jTsT4rVY8sxQJFvOQA,53813
|
8
8
|
AIEmailAutomationUtility/Save_Draft.py,sha256=yzLgFN14I_lXE6qL0I3tKNduvcnWdbsY9i2mKdTtio4,5348
|
9
9
|
AIEmailAutomationUtility/Save_Transaction.py,sha256=Gg1w6hhzHmEFjsuzYvkq-3-EsWReetjLHsYSv5YIGgM,3816
|
10
10
|
AIEmailAutomationUtility/__init__.py,sha256=Jad3IdPRsVMeLqEEh-FbCrc1lE2tzJO2DTG5Hgmxh5g,391
|
11
|
-
AIEmailAutomationUtility-0.0.
|
12
|
-
AIEmailAutomationUtility-0.0.
|
13
|
-
AIEmailAutomationUtility-0.0.
|
14
|
-
AIEmailAutomationUtility-0.0.
|
15
|
-
AIEmailAutomationUtility-0.0.
|
11
|
+
AIEmailAutomationUtility-0.0.36.dist-info/LICENCE.txt,sha256=2qX9IkEUBx0VJp1Vh9O2dsRwE-IpYId0lXDyn7OVsJ8,1073
|
12
|
+
AIEmailAutomationUtility-0.0.36.dist-info/METADATA,sha256=uYOAi_nEs31p3yFSQbWWMRM_vQNT-5NA521wkCNK2uo,651
|
13
|
+
AIEmailAutomationUtility-0.0.36.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
14
|
+
AIEmailAutomationUtility-0.0.36.dist-info/top_level.txt,sha256=3jTWrTUblVkaP7mpwY2UBSnrlfot5Ykpfsehyke-Uzw,25
|
15
|
+
AIEmailAutomationUtility-0.0.36.dist-info/RECORD,,
|
{AIEmailAutomationUtility-0.0.35.dist-info → AIEmailAutomationUtility-0.0.36.dist-info}/LICENCE.txt
RENAMED
File without changes
|
{AIEmailAutomationUtility-0.0.35.dist-info → AIEmailAutomationUtility-0.0.36.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|