Terminology and Definitions¶
Django Templated Email¶
Django Templated Email is a package that allows you to send emails using Django templates. It provides a convenient way to create and send HTML and plain text emails using Django’s templating system, and it integrates nicely with anymail. It is particularly useful for sending transactional emails.
html2text¶
html2text is a Python library that converts HTML to plain text. In django-templated-email-md, it’s used to generate the plain text version of emails from the rendered HTML.
Markdown¶
Markdown is a lightweight markup language with plain-text formatting syntax. It’s designed to be easy to read and write, and can be converted to HTML and other formats. Markdown is also the name of a popular Python package that provides tools for working with Markdown text.
Multipart Email¶
A multipart email is an email that contains multiple parts, typically an HTML version and a plain text version of the message. This allows email clients to display the most appropriate version based on their capabilities.
Preheader¶
A preheader is a short summary or preview of an email message that appears in the inbox before the email is opened. It’s typically displayed next to the subject line and can help entice recipients to open the email.
Premailer¶
Premailer is a tool used to inline CSS styles in HTML documents. In the context of email templates, it helps ensure that styles are applied consistently across different email clients.