Add message-id to digest email
Closed this issue · 1 comments
rabbah commented
From apache/openwhisk#5175.
The slack digest messages to the Apache dev list don't have any message-ids.
Sample message:
https://lists.apache.org/api/source.lua?id=896q75ofyp6jjstom0ts2w8t41nr8my0
Here is a message with an id:
https://lists.apache.org/api/source.lua?id=4myw89oov7nn9ymo15pdnljy16qvdofd
Search for 'Message-Id', you should find:
Message-ID:
BYAPR02MB57667C72432D3B2EEBB14F68AF919@BYAPR02MB5766.namprd02.prod.outlook.com
Message-IDs are important, because they are used for message threading etc.
For Python this is the usual way to do it:
https://docs.python.org/3/library/email.utils.html#email.utils.make_msgid