We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2328c63 + 62f6f2b commit ac03536Copy full SHA for ac03536
email/1.3.0/src/app.py
@@ -382,7 +382,11 @@ def merge(d1, d2):
382
output_dict["imap_id"] = id_list[i]
383
384
# Add message-id as top returned field
385
- output_dict["message_id"] = parsed_eml["header"]["header"]["message-id"][0]
+ try:
386
+ output_dict["message_id"] = parsed_eml["header"]["header"]["message-id"][0]
387
+ except Exception as _:
388
+ output_dict["message_id"] = ""
389
+
390
391
if upload_email_shuffle:
392
self.logger.info("Uploading email to shuffle")
0 commit comments