# Inbound email records who it was delivered to | Changelog

Source: https://wraps.dev/changelog/inbound-email-records-envelope-recipients

![Wraps Logo](https://wraps.dev/wraps-light-logo.png)![Wraps Logo](https://wraps.dev/wraps-dark-logo.png)

](https://wraps.dev/)

[](https://github.com/wraps-team/wraps)[Log in](https://app.wraps.dev/auth?mode=signin)[Sign up](https://app.wraps.dev/auth?mode=signup)

Toggle menu

[← All changes](https://wraps.dev/changelog)

CLIDashboardAPINovember 2026

### Inbound email records who it was delivered to

Inbound emails carry the SMTP envelope recipients SES delivered to, Bcc included, so you can route mail that never names your address in To or Cc.

-   Run `wraps email upgrade` to move inbound to the new trigger. New mail then carries `envelopeRecipients` on the `email.received` event, in the parsed JSON, in `GET /v1/email/inbound`, in the dashboard ("Delivered to") and in `wraps email inbound get`. Mail received before the upgrade has no field, which means unknown
-   Deploy with CLI v3.21.0 or later everywhere, laptops and CI included. An older CLI deploying after the upgrade stops new inbound mail from being processed; `wraps email inbound status` flags it and `wraps email upgrade --action redeploy` repairs it. New mail is stored under `mail/`: if your code reads `raw/` by prefix, read `rawS3Key` instead
-   Expect `inbound init` and `inbound add` to ask before they deactivate another active receipt rule set in the region. With `--yes` or `--json` they refuse unless you pass `--replace-active-rule-set`
-   Replay failed inbound mail from the dead-letter queue with `wraps email inbound reprocess`; `inbound status` shows the queue depth. Deduplicate events on `emailId`: delivery is at least once

Also fixed (1)

-   inbound init no longer emits a junk email.received event for SES's setup-notification test object.

CLI v3.21.0

[Read the docs →](https://wraps.dev/docs/cli-reference/email)
