email

Validate email values.

Usage

An email address with a valid local part and DNS-style domain.

env "CONTACT_EMAIL", type: "email"

Validation leaves the value as a string. Storage defaults to "any" and redaction is off. Set storage: "encrypted" and redacted: true for secrets.