Skip to content

Feature: expose envelope To / Delivered-To (or equivalent) in thread/message JSON #431

Description

@heredia21

Problem

When screening or auditing mail with the HEY CLI (hey --json), there is no reliable way to see the envelope recipient (SMTP RCPT TO / Delivered-To / alias that actually received the message). Billing portals and payment processors often show a different address than the mailbox you are looking at, and without envelope recipient data it is hard to confirm which alias or forward path a message hit.

Request

Please expose in CLI JSON (thread and/or message payloads) at least one of:

  • envelope To / RCPT TO
  • Delivered-To
  • the HEY alias / address that received the message

Even a read-only field would unblock scripting and support workflows.

Context

Filed after hitting this while reconciling a billing receipt against mailbox state. Soft-delete / Trash via CLI works; hard-delete is out of scope here. This is only about recipient metadata visibility.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions