> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt # Engagement events Canonical URL: https://posthog.com/docs/workflows/email/engagement-events > **Cloud region:** This page uses US Cloud hosts. For an EU Cloud project, use `https://eu.posthog.com` instead of `https://app.posthog.com` (app host for links). ## On this page - [Turn them on](#turn-them-on) - [Events](#events) - [Properties](#properties) - [Ideas](#ideas) With engagement events on, every send, delivery, open, click, and bounce becomes a PostHog event on the person (while unsubscribe and consent events are recorded with the email address as their distinct ID). You can use them like any other event: in funnels, cohorts, insights, and automation triggers. To see how each send did without building your own insights, use [metrics](https://posthog.com/docs/workflows/metrics.md). To learn how these events connect your email to the rest of your product data, see [how product data powers messaging](https://posthog.com/docs/workflows/concepts/product-data-and-messaging.md). ## Turn them on New projects start with engagement events on. To check, go to [**Messaging** > **Settings** > **Engagement events**](https://app.posthog.com/workflows/settings), and turn on **Capture email engagement events**. It takes a couple of minutes, and doesn't fill in past sends. The events count toward your event usage. If you turn them off, you still get [metrics](https://posthog.com/docs/workflows/metrics.md). ## Events | Event | When | | --- | --- | | `$workflows_email_sent` | PostHog handed the email to the email provider. | | `$workflows_email_delivered` | The person's mail server accepted it. | | `$workflows_email_opened` | The person opened it. Needs [open tracking](https://posthog.com/docs/workflows/email/link-tracking.md). | | `$workflows_email_link_clicked` | The person clicked a link. Needs click tracking. | | `$workflows_email_bounced` | It bounced. | | `$workflows_email_blocked` | The person marked it as spam. | | `$workflows_email_failed` | It wasn't sent, or the email provider rejected it. | | `$workflows_email_unsubscribed` | The person unsubscribed. | | `$workflows_email_tracking_consent_updated` | The person changed their [tracking consent](https://posthog.com/docs/workflows/email/link-tracking.md#tracking-consent). | | `$workflows_conversion` | The person reached an automation's [conversion goal](https://posthog.com/docs/workflows/automations/triggers.md#conversion-goal-and-exit). PostHog records it even with engagement events off. | Test sends don't create events. Each event goes to the distinct ID of the send. An email your [code sends](https://posthog.com/docs/workflows/transactional/send-from-code.md#link-emails-to-your-users) uses the `distinct_id` you pass, or the recipient's email address when you pass none. The events join the person with that distinct ID, or start a new person. A send with no distinct ID creates no events. ## Properties | Property | What it holds | | --- | --- | | `$workflow_id` | The broadcast or automation that sent it | | `$workflow_action_id` | The email step | | `$email_to` | The recipient | | `$email_subject` | The subject. Left out for [sensitive](https://posthog.com/docs/workflows/transactional/sensitive-data.md) emails. | | `$email_transactional` | Whether the email was transactional | | `$email_template_id` | The transactional email's template ID, when the send used one | | `$email_template_key` | The `template_key` of an email your code wrote | | `$email_tags` | The [tags](https://posthog.com/docs/workflows/transactional/send-from-code.md#headers-and-tags) your code sent with the email, when it sent any | | `$email_tracking_enabled` | Whether the send had tracking. On sent and failed events. | | `$link_url` | The link, on clicks. Only the site address for sensitive emails. | | `$bounce_type` | `hard`, `soft`, or `unknown`, on bounces | Unsubscribe and consent events belong to the email address, not to one send. Their distinct ID is the email address, and they have `$email` and `source`. An unsubscribe also has `category`: the category's ID, or `$all` for all marketing email. When the person used the link in a workflow email, it also has that email's `$workflow_id`, `$workflow_action_id`, `$workflow_invocation_id`, and `$workflow_version`. A consent event has `status`: `OPTED_IN` or `OPTED_OUT`. ## Ideas - **Did the email work?** A funnel from `$workflows_email_delivered` to your own event, such as `password_reset_completed`. - **Who's ignoring you?** A cohort of people with no `$workflows_email_opened` in 90 days, to leave out of broadcasts. - **Follow up on a click.** An automation triggered by `$workflows_email_link_clicked` on your pricing link.