By default, if you’re deploying n8n on Railway or any other instance, the STMP is not part of the environment variables. Therefore, if you stuck with missing password, you’re out of luck.
So you need to set up!
Here’s the config, please replace it accordingly.
N8N_EMAIL_MODE="smtp"
N8N_SMTP_HOST="XXX"
N8N_SMTP_PORT="587"
N8N_SMTP_USER="XXX"
N8N_SMTP_PASS="XX"
N8N_SMTP_SSL="false"
N8N_SMTP_STARTTLS="true"
N8N_SMTP_SENDER="XXX"
N8N_SMTP_SENDER_NAME="N8N"
So replace XXX with the correct parameters. I’m using SES so just follow your standard config. Good luck!