Skip to main content

Email

Email — ɳSelf documentation.

Feature: Email

ɳSelf supports email delivery through built-in SMTP configuration and a growing list of provider integrations.

What’s Included

CapabilityDescription
SMTPDirect SMTP for any mail server
Auth emailMagic links, email verification, password reset
Mailpit (dev)Local email capture UI for development
16 provider integrationsVia the email plugin ecosystem

Built-in SMTP Configuration

Configure SMTP in .env:

SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=noreply@example.com
SMTP_PASSWORD=your-smtp-password
SMTP_FROM=noreply@example.com
SMTP_SECURE=true

Development Mode (Mailpit)

In development, all emails are captured by Mailpit. No emails leave the server. View captured emails at the Mailpit URL from nself urls.

Provider Integrations

The following providers are supported via plugins:

ProviderPlugin
SendGridplugin-sendgrid (pro)
Mailgunplugin-mailgun (pro)
Postmarkplugin-postmark (pro)

Install with:

nself plugin install sendgrid

Key Configuration Variables

VariableDescriptionDefault
SMTP_HOSTSMTP server hostnameRequired
SMTP_PORTSMTP port587
SMTP_USERSMTP usernameRequired
SMTP_PASSWORDSMTP passwordRequired
SMTP_FROMFrom addressRequired
SMTP_SECUREUse TLStrue

See Also