Open jpmckinney opened 4 weeks ago
What do you suggest to put as TextPart
?
Probably the same content with the same {{VAR}}
tags, split into paragraphs. Basically, the same without HTML.
One idea is to write a command to strip the HTML to autogenerate these files (there's probably a library to do it).
We can then double-check that the text looks OK, and this will make it easier to keep them in sync going forward.
Edit: and we probably want to use the textwrap module to have reasonably short line lengths.
AFAIK, we presently only set the HtmlPart (the templates don't have a TextPart).
Emails with only HTML parts can be marked as spam (e.g. https://glockapps.com/blog/10-tips-to-avoid-spam-folder/)