Skip to content

EmailTemplateContent

Source code in docs_src/capo_sesv2/types/email_template_content.py
class EmailTemplateContent(TypedDict, closed=True):
    subject: NotRequired["capo_sesv2.types.email_template_subject.EmailTemplateSubject"]
    """<p>The subject line of the email.</p>"""
    text: NotRequired["capo_sesv2.types.email_template_text.EmailTemplateText"]
    """<p>The email body that will be visible to recipients whose email clients do not display HTML.</p>"""
    html: NotRequired["capo_sesv2.types.email_template_html.EmailTemplateHtml"]
    """<p>The HTML body of the email.</p>"""

html instance-attribute

html: NotRequired[EmailTemplateHtml]

The HTML body of the email.

subject instance-attribute

subject: NotRequired[EmailTemplateSubject]

The subject line of the email.

text instance-attribute

text: NotRequired[EmailTemplateText]

The email body that will be visible to recipients whose email clients do not display HTML.