Open humitos opened 1 month ago
Unfortunately, using our dashboard styles in emails is not possible.
Email styling is a shit show and if you look at that source, it's all tables and inline CSS. This is on purpose as various providers like Gmail especially make styling as hard as possible.
Here is a breakdown of all the things that various providers break: https://www.campaignmonitor.com/css/
Here's everything Gmail Android breaks for example (it's a lot): https://www.campaignmonitor.com/css/email-client/gmail-android-app-imap/
I'm not opposed to updating the styles in the email templates but also very much not looking forward to working with these limitations or testing them.
We are sending emails using the old styles. It would be good to refresh them by using the simplicity look and feel from the new dashboard. I think this is the file we need to update: https://github.com/readthedocs/readthedocs.org/blob/f8cbc1310524a91230d80bb4956e3b164911dd3b/readthedocs/templates/core/email/base.html
Here is an example: