Represents an email envelope, containing metadata about the sender, recipients, and delivery.

The envelope is part of the message delivery process and includes information such as the sender, recipient list, and timestamps.

Envelope

0.0.1

interface Envelope {
    from: string;
    id: string;
    sender: Sender;
    to: string[];
}

Properties

Properties

from: string

The sender's "MAIL FROM" email address.

Note: This address may differ from the address used in the "From"-header inside the email message.

0.0.1

id: string

A unique identifier for the email. This can be set either by the sender using Message-ID, or by the recipient server.

0.0.1

sender: Sender

The sender details, including additional metadata about the sender.

Sender

0.0.1

to: string[]

The list of recipient email addresses.

0.0.1