Cannot Get Email Notifications Working with Gmail (App Password, Custom Domain)
Hi all,
I’m running Immich on a fresh Linux Mint 22.1 (Ubuntu 24.04 base) install on a Dell OptiPlex 3020 (i3-4130, 16GB RAM). Everything works well, including importing ~250,000 images (~200GB) from Google Takeout via immich-go.
However, I can’t get email notifications to work using my Google Workspace (custom domain) account with 2FA enabled and a valid Gmail App Password.
Email Config:
Set in Admin UI:
• SMTP Host: smtp.gmail.com
• Port: 465 (also tried 587)
• Username: myaddress@mydomain.com
• Password: Gmail App Password
• Secure Connection: SSL/TLS (also tried STARTTLS)
• From address: same as above
Clicking “Send Test Email and Save” results in no error—but no email is received.
Verified:
• App Password works in other apps
• MX/DNS records are good (Google Workspace)
• Outbound ports (465/587) are open
• No SMTP errors in Immich logs
• Gmail shows no blocked login attempts
• .env is being read and other settings apply fine
Possibilities:
• Silent failure? Async email error not surfaced?
• TLS/SSL mismatch?
• Docker container missing OpenSSL?
• Gmail’s STARTTLS quirks not handled?
• Immich test button doesn’t verify connection?
Has anyone successfully used Gmail (or Google Workspace) with Immich SMTP lately?
Any way to increase email logging for SMTP or capture error details?
Thanks!
I’m running Immich on a fresh Linux Mint 22.1 (Ubuntu 24.04 base) install on a Dell OptiPlex 3020 (i3-4130, 16GB RAM). Everything works well, including importing ~250,000 images (~200GB) from Google Takeout via immich-go.
However, I can’t get email notifications to work using my Google Workspace (custom domain) account with 2FA enabled and a valid Gmail App Password.
Email Config:
Set in Admin UI:
• SMTP Host: smtp.gmail.com
• Port: 465 (also tried 587)
• Username: myaddress@mydomain.com
• Password: Gmail App Password
• Secure Connection: SSL/TLS (also tried STARTTLS)
• From address: same as above
Clicking “Send Test Email and Save” results in no error—but no email is received.
Verified:
• App Password works in other apps
• MX/DNS records are good (Google Workspace)
• Outbound ports (465/587) are open
• No SMTP errors in Immich logs
• Gmail shows no blocked login attempts
• .env is being read and other settings apply fine
Possibilities:
• Silent failure? Async email error not surfaced?
• TLS/SSL mismatch?
• Docker container missing OpenSSL?
• Gmail’s STARTTLS quirks not handled?
• Immich test button doesn’t verify connection?
Has anyone successfully used Gmail (or Google Workspace) with Immich SMTP lately?
Any way to increase email logging for SMTP or capture error details?
Thanks!