Allow empty username and password for SMTP
What problem will this feature address?
Right now, when configuring an SMTP notification, username and password is required, but certain SMTP solutions (like the Google SMTP Relay) requires the possibility to put no username and password.
Right now Google SMTP Relay in configuration without password but only IP whitelist cannot be used with Dokploy.
Describe the solution you'd like
Allowing empty username and password for SMTP. A switch to toggle if one wants SMTP authentication is a good solution too.
Describe alternatives you've considered
I considered using the raw SMTP server, but that requires an account application password that we prefer to not use.
Additional context
No response
Will you send a PR to implement it?
No
I'd like to work on this. Plan: relax the username/password validation on the email notification form and API schema, and only pass auth to nodemailer when credentials are actually provided — so unauthenticated relays like Google SMTP Relay (IP allowlist) work. PR coming shortly.