Sending Email
Own Auth sends managed delivery requests for magic links, verification, password resets, and invitations.
Email Types
| Type | When It Is Sent |
|---|---|
| magic_link | Passwordless sign in. |
| email_verification | Confirming a user's email address. |
| password_reset | Resetting a forgotten password. |
| organisation_invite | Inviting someone to an organisation. |
Custom Endpoint
The provider uses the managed delivery endpoint by default. Pass endpoint only when you run this service yourself.
new OwnAuthManagedEmailProvider({
deliveryKey: process.env.OWN_AUTH_EMAIL_DELIVERY_KEY,
endpoint: "https://delivery.your-company.com/v1/email"
});URL Validation
Every email request includes the auth URL created by Own Auth. Own Auth Delivery checks that URL against the selected app's allowed URLs before queueing the email.