Uptime Kuma SMTP notifications with Office 365 or Gmail
Uptime Kuma can email you when a monitor goes down, using its Email (SMTP) notification. This signs in with a username and password, and has no OAuth option, so it can’t send through Microsoft 365 or Gmail directly.
With Auth-Email, you change the host, port, and password in the notification, and every monitor that uses it sends through your mailbox.
Before you start: link the mailbox in your Auth-Email dashboard, and choose a password for it. That is the password you’ll enter in Uptime Kuma – not your mailbox password.
Step 1: Set up the email notification
In Uptime Kuma, go to Settings > Notifications, and click Set Up Notification (or edit your existing email notification). Enter the following. Show the settings for an account provided by Outlook:
- Notification Type:
Email (SMTP) - Friendly Name: A name to identify the notification (e.g., “Email via Auth-Email”)
- Hostname:
outlook.auth-email.com - Port:
465 - Security:
TLS (465) - Ignore TLS Error: Unticked
- Username: The linked mailbox’s full email address (e.g.,
you@outlook.com) - Password: The password you chose in Auth-Email
- From Email: The linked mailbox’s email address, or an address that the mailbox is allowed to send as
- To Email: The address that should receive alerts
Click Test to send a test alert, and then Save. Make sure the notification is turned on for each monitor (or tick Default enabled and Apply on all existing monitors).
Troubleshooting
- “Invalid login” or “535 Authentication failed”: check that the username is the full email address, and that the password is the one you chose in Auth-Email (not your mailbox password)
- “Greeting never received” or a timeout: check that Security is TLS (465) with port
465, and that your Uptime Kuma server (or container) can make outgoing connections on that port - “Sender address rejected” or “SendAsDenied”: the From Email must be the linked mailbox, or an address that the mailbox is allowed to send as
For other errors, such as Microsoft 365 reporting that SMTP AUTH is disabled, see fixing common errors. Your account’s connection page in the Auth-Email dashboard also shows whether Uptime Kuma has connected, and explains any error it received. Still stuck? Email us – we’ll help you get it working.
Related articles
Try Auth-Email with Uptime Kuma
Link your mailbox, update the email notification, and send a test alert.
Start your free trial →No credit card needed. Check that it works, including sending yourself test messages, before you pay.