Closed phette23 closed 1 year ago
Well here's a demo that I think follows Python 3 recommendations for sending HTML email and Google's instructions for adding a ViewAction: https://gist.github.com/phette23/ebbfb5470ca11ffe1a50e07a58ccdb1a
...but it doesn't work. Gmail (or Mailgun?) strips out the JS it looks like, there's no action button in my inbox.
It seems like there may be a bunch of unstated requirements for action links to appear in your email, as per this article's requirements section. I think this has proven to not be worth it given the time I already spent trying to figure it out so I'm giving up.
https://developers.google.com/gmail/markup/?hl=en
These highlight actions right from the inbox, you don't even need to click into the email. Could link up the Syllabus contribution form via a
login.do?page=
link. AViewAction
seems to be the specific type of markup we'd want.Our emails are plain text which makes me think we may not be able to add the markup.