(20241206) Sending the 'Subject' in the mails list now.

This commit is contained in:
2024-12-06 17:09:35 +05:30
parent 906cc16aff
commit 49f7ea13c0
11 changed files with 1285 additions and 2 deletions
+1
View File
@@ -171,6 +171,7 @@ class MailRetrieveModel(BaseModel):
"payload.ts": True,
"payload.readTs": True,
"payload.from": True,
"payload.subject": True,
"payload.labels": True,
"payload.snippet": True,
"payload.aiSnippet": True,
+4
View File
@@ -281,6 +281,10 @@ class MailSyncModel(BaseModel):
filter = mongo_conn.dict_to_dot_notation({
"payload": {
"messageId": message_id
},
"user_info": {
"entityId": user_info["entityId"],
"billingAccountId": user_info["billingAccountId"]
}
}),
projection = {