CodeEmailFields
Properties
| Name | Type |
|---|---|
attachments | EmailAttachment[] |
Files sent with the email: at most 10, and at most 40 MB for the whole email after Base64 encoding, about 29 MB of files. The SDK checks both before any request. It uploads each file PostHog doesn't have yet, then sends the email. When an upload fails, it sends nothing. | |
bcc | string | string[] |
Bare addresses that get a copy the other recipients never see. | |
captureEngagement | boolean |
Whether PostHog captures the email's engagement events (sent, delivered, opened, clicked, bounced) as events of the recipient. Defaults to | |
cc | string | string[] |
Bare addresses, such as | |
from | string |
A verified sender, such as | |
replyTo | string | string[] |
subject | string |
templateKey | string |
Names the email, such as | |





