To be able to attach custom data to mailgun using headers, which will allow us to track the status of emails (delivered, opened, rejected, etc..) with webhooks.
🔨 Solution
We use your library quite extensively at Tacto, and would like to open an PR to add this feature, but wanted to first discuss the options with you. As I see it, this would involve adding a new list of optional dicts to the MessageSchema and then updating the msg.py to handle the adding of this. On a quick search, we saw you already use the part.add_header().
👷 Problem
Unable to add custom SMTP headers to emails.
📄 Reason
To be able to attach custom data to mailgun using headers, which will allow us to track the status of emails (delivered, opened, rejected, etc..) with webhooks.
🔨 Solution
We use your library quite extensively at Tacto, and would like to open an PR to add this feature, but wanted to first discuss the options with you. As I see it, this would involve adding a new list of optional dicts to the MessageSchema and then updating the
msg.py
to handle the adding of this. On a quick search, we saw you already use thepart.add_header()
.What do you think?