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

  1. 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.
  2. Set N8N_SMTP_SSL and N8N_SMTP_STARTTLS to match the provider’s documented transport. Apply the environment changes and restart n8n.
  3. 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.

Official documentation

Have Pilae operate n8n

We agree what to monitor, how to recover and who responds when something breaks. Bring your existing deployment or start with a new one.