Skip to content

EmailMessage

Source code in docs_src/capo_pinpoint/types/email_message.py
class EmailMessage(TypedDict, closed=True):
    body: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The body of the email message.</p>"""
    feedback_forwarding_address: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The email address to forward bounces and complaints to, if feedback forwarding is enabled.</p>"""
    from_address: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The verified email address to send the email message from. The default value is the FromAddress specified for the email channel.</p>"""
    raw_email: NotRequired["capo_pinpoint.types.raw_email.RawEmail"]
    """<p>The email message, represented as a raw MIME message.</p>"""
    reply_to_addresses: NotRequired[
        "capo_pinpoint.types.list_of__string.ListOf__string"
    ]
    """<p>The reply-to email address(es) for the email message. If a recipient replies to the email, each reply-to address receives the reply.</p>"""
    simple_email: NotRequired["capo_pinpoint.types.simple_email.SimpleEmail"]
    """<p>The email message, composed of a subject, a text part, and an HTML part.</p>"""
    substitutions: NotRequired[
        "capo_pinpoint.types.map_of_list_of__string.MapOfListOf__string"
    ]
    """<p>The default message variables to use in the email message. You can override the default variables with individual address variables.</p>"""

body instance-attribute

body: NotRequired[__string]

The body of the email message.

feedback_forwarding_address instance-attribute

feedback_forwarding_address: NotRequired[__string]

The email address to forward bounces and complaints to, if feedback forwarding is enabled.

from_address instance-attribute

from_address: NotRequired[__string]

The verified email address to send the email message from. The default value is the FromAddress specified for the email channel.

raw_email instance-attribute

raw_email: NotRequired[RawEmail]

The email message, represented as a raw MIME message.

reply_to_addresses instance-attribute

reply_to_addresses: NotRequired[ListOf__string]

The reply-to email address(es) for the email message. If a recipient replies to the email, each reply-to address receives the reply.

simple_email instance-attribute

simple_email: NotRequired[SimpleEmail]

The email message, composed of a subject, a text part, and an HTML part.

substitutions instance-attribute

substitutions: NotRequired[MapOfListOf__string]

The default message variables to use in the email message. You can override the default variables with individual address variables.