Repository navigation
posthog-v7.81.0
Immutable
release. Only release title and notes can be modified.
Minor changes
- 01e91db Send transactional email from PostHog email templates with
client.emails.send()onPosthogandAsyncPosthog, or withEmailsandAsyncEmailsfromposthog.emailsin a process that only sends email. A send needs a project secret API key, goes to the app host, sends an idempotency key, and retries network errors, rate limits and an unavailable service with the same key. Setapp_host,email_request_timeout_secondsandemail_request_max_retrieson the client to configure sends, ormax_retrieson one send. Errors raiseEmailErrorwith PostHog's errorcodeand a categoryname. Read what happened to a sent email withclient.emails.get(message_id), which returns anEmailStatuswithstatus,created_at,status_atandreasonfor 30 days after the send. — Thanks @mayteio for your first contribution 🎉!