Skip to main content

Module email_templates

Module email_templates 

Source

Structs§

EmailTemplate
EmailTemplateNew
EmailTemplateUpdate

Enums§

EmailTemplateType

Functions§

delete_email_template
generic_email_template_exists
Whether a generic template of this type would actually be found: checks only the "en" and NULL language rows, the two the lookup above always falls back to regardless of the caller’s UI language.
get_all_email_templates
get_email_template
get_email_templates
get_generic_email_template_by_type_and_language
insert_email_template
insert_global_email_template_if_absent
Inserts a global template, or returns None if a live one of the same type and language exists. Unlike insert_email_template, never overwrites the existing row.
update_email_template