You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use WATCHTOWER_NOTIFICATIONS=email with gmail using an app password.
Configuration appears to be working with some occasional timeout errors. But I never receive any notifications at all. Appreciate any insight or let me know if this is a bug I'm experiencing.
Steps to reproduce
I have the following docker compose file:
version: "3.7"
services:
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- WATCHTOWER_NOTIFICATIONS=email
- WATCHTOWER_NOTIFICATION_EMAIL_TO=my.to.email@gmail.com
- WATCHTOWER_NOTIFICATION_EMAIL_FROM=my.from.email@gmail.com
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.gmail.com
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_TLS_SKIP_VERIFY=false
- WATCHTOWER_NOTIFICATION_EMAIL_PORT=587
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=my.outbound.email@gmail.com
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=mayapppassword
- WATCHTOWER_NOTIFICATION_EMAIL_DELAY=300
- WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG=Watchtower-Updates
hostname: watchtower
command: --cleanup --interval 21600 # every 6 hours
restart: always
Expected behavior
I believe I have the correct configurations. I expect to see an email on start up and when I have any updates.
Screenshots
No response
Environment
Platform = Raspberry PI 5
Architecture = linux aarch64 Debian GNU/Linux 12 (bookworm) - RPIOS
Docker Version = 28.1.1; Using Portainer to configure
Your logs
time="2025-05-12T16:33:33Z" level=info msg="Watchtower 1.7.1"
time="2025-05-12T16:33:33Z" level=info msg="Using notifications: smtp"
time="2025-05-12T16:33:33Z" level=info msg="Checking all containers (except explicitly disabled with label)"
time="2025-05-12T16:33:33Z" level=info msg="Scheduling first run: 2025-05-12 16:34:33 +0000 UTC"
time="2025-05-12T16:33:33Z" level=info msg="Note that the first check will be performed in 59 seconds"
time="2025-05-12T16:34:36Z" level=info msg="Session done" Failed=0 Scanned=5 Updated=0 notify=no
time="2025-05-12T16:35:35Z" level=info msg="Session done" Failed=0 Scanned=5 Updated=0 notify=no
time="2025-05-12T16:36:35Z" level=info msg="Session done" Failed=0 Scanned=5 Updated=0 notify=no
time="2025-05-12T16:37:35Z" level=info msg="Session done" Failed=0 Scanned=5 Updated=0 notify=no
time="2025-05-12T16:38:35Z" level=info msg="Session done" Failed=0 Scanned=5 Updated=0 notify=no
time="2025-05-12T16:38:43Z" level=error msg="Failed to send shoutrrr notification" error="failed to send using smtp: timed out" index=0 notify=no service=smtp
time="2025-05-12T16:39:35Z" level=info msg="Session done" Failed=0 Scanned=5 Updated=0 notify=no
time="2025-05-12T16:40:35Z" level=info msg="Session done" Failed=0 Scanned=5 Updated=0 notify=no
Additional context
No response
The text was updated successfully, but these errors were encountered:
Hi there! 👋🏼 As you're new to this repo, we'd like to suggest that you read our code of conduct as well as our contribution guidelines. Thanks a bunch for opening your first issue! 🙏
Describe the bug
I'm trying to use WATCHTOWER_NOTIFICATIONS=email with gmail using an app password.
Configuration appears to be working with some occasional timeout errors. But I never receive any notifications at all. Appreciate any insight or let me know if this is a bug I'm experiencing.
Steps to reproduce
I have the following docker compose file:
version: "3.7"
services:
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- WATCHTOWER_NOTIFICATIONS=email
- WATCHTOWER_NOTIFICATION_EMAIL_TO=my.to.email@gmail.com
- WATCHTOWER_NOTIFICATION_EMAIL_FROM=my.from.email@gmail.com
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.gmail.com
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_TLS_SKIP_VERIFY=false
- WATCHTOWER_NOTIFICATION_EMAIL_PORT=587
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=my.outbound.email@gmail.com
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=mayapppassword
- WATCHTOWER_NOTIFICATION_EMAIL_DELAY=300
- WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG=Watchtower-Updates
hostname: watchtower
command: --cleanup --interval 21600 # every 6 hours
restart: always
Expected behavior
I believe I have the correct configurations. I expect to see an email on start up and when I have any updates.
Screenshots
No response
Environment
Your logs
Additional context
No response
The text was updated successfully, but these errors were encountered: