# use-email-envelope
SMTP envelope identity and path primitives for `RustUse`.
## Experimental
`use-email-envelope` is experimental while `use-email` remains below `0.3.0`.
## Example
```rust
use use_email_envelope::{Envelope, EnvelopeRecipient, EnvelopeSender};
let envelope = Envelope::new(EnvelopeSender::new("bounce@example.com")?)
.with_recipient(EnvelopeRecipient::new("jane@example.com")?);
assert_eq!(envelope.sender().to_string(), "<bounce@example.com>");
assert_eq!(envelope.recipients().len(), 1);
# Ok::<(), use_email_address::AddressValidationError>(())
```
## Scope
- Reverse-path, forward-path, MAIL FROM, RCPT TO, envelope sender, recipient, and envelope containers.
- SMTP envelope identity modeled separately from visible message headers.
## Non-goals
- SMTP client behavior.
- Bounce processing.
- Delivery tracking.
## License
Licensed under either Apache-2.0 or MIT.