n8n outgoing mail
Configure n8n SMTP for account invitations and password recovery. Workflow actions use separate Send Email credentials.
Last updated
On this page (5)
n8n · Outgoing mail
Before you start
- Access to the self-hosted n8n environment and a restart window.
- Authorized SMTP sender, relay credentials, and a disposable test account or mailbox.
Procedure
- Configure N8N_EMAIL_MODE=smtp and N8N_SMTP_HOST, N8N_SMTP_PORT and N8N_SMTP_SENDER. Inject N8N_SMTP_USER and N8N_SMTP_PASS from managed secrets when using password authentication.
- Set N8N_SMTP_SSL and N8N_SMTP_STARTTLS to match the provider’s documented transport. Apply the environment changes and restart n8n.
- Send an invitation from user management, then request a reset for the completed test account.
Verify the result
- Both messages reach the test mailbox and the invitation and reset links open the intended public instance and complete their flows.
- Relay logs confirm acceptance with the expected sender and deployment logs contain no SMTP authentication or TLS errors.
