DBdock sends email via standard SMTP — any provider works.Documentation Index
Fetch the complete documentation index at: https://docs.dbdock.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Configuration
dbdock.config.json
.env
to addresses are supported — all recipients get every alert.
Provider setup
Gmail
Gmail
SendGrid
SendGrid
apikey — not your SendGrid username. The password is the API key.AWS SES
AWS SES
us-east-1 with your SES region.Mailgun
Mailgun
Postmark
Postmark
Custom SMTP
Custom SMTP
Any SMTP server works:Use
secure: true + port: 465 for implicit TLS. Use secure: false + port: 587 for STARTTLS (most modern servers).Email content
Success
Subject:✓ Backup complete — myapp (45.2 MB)
Body: backup ID, database, size, duration, storage path, encryption status.
Failure
Subject:✗ Backup failed — myapp
Body: error message, timestamp, troubleshooting suggestion.
Testing
to addresses. Check spam folders if it doesn’t arrive.
Common issues
Authentication failed
Authentication failed
- Wrong username/password
- Gmail: not using an App Password
- Provider requires API key, not account password (SendGrid, Postmark)
Connection timeout
Connection timeout
- Port blocked by network firewall
- Try port 465 with
secure: trueinstead of 587
Email not received
Email not received
- Check spam folder
- Verify
fromaddress is allowed by the provider (SendGrid/SES require domain verification) - Check provider’s send logs (SendGrid activity feed, SES CloudWatch)
Security
- SMTP credentials live in
.env, never indbdock.config.json - DBdock uses STARTTLS when
secure: false+ port 587 - If your SMTP server requires a certificate chain outside the Node defaults, you’ll need to set
NODE_EXTRA_CA_CERTS
See also
Slack alerts
Real-time Slack notifications.
Custom webhooks
Discord, WhatsApp, and custom endpoints.

