Hi all! I’ve been looking for a selfhosted system that can monitor one or more email accounts and check if a certain email with a particular subject arrives every day (or every x hours) and alert me if it doesn’t (or if the subject is different). I need this to check if backups from different PC have run or not. The best thing would be to integrate it with Uptime Kuma. Any idea? Thanks!
Edit: I’m switching all my backup software to Restic (Autorestic on Linux machines) so I can send a ping to Uptime Kuma when every single backup successfully ends.
I would put a simple “grep mail.log || curl ntfy.sh” or something like that. Ntfy can send you alert on the phone if some check failed or passed. For pass just use && :) Simple and it works.
Depending on how much infra you want to put up, there’s also mailinabox that can do all (email aliases, etc.)
Does it have to be by monitoring emails or do you have control over the backup script? I’m using Uptime Kuma to monitor my backups via push monitors. My backup scripts call a webhook to indicate success or failure. If the webhook isn’t called for X hours, the backup is also marked as failed. Works really well.
It has to be email monitoring. I’m already using Uptime Kuma for other notification (with ntfy) and I hope to find something that can check email to integra in Uptime Kuma.
Not built in, but maybe a tool like windmill, nodered, or n8n? I think they all support imap and can run on a timer
I’ve tried doing it with Node Red some time ago, but the Email node could only read the last email (if I’m not wrong, I can’t remember).
Edit: I’ve tried installing n8n some times ago, but it seemed too complicated, I’ve never tried Windmill, I’ll have a look at it
i always tell myself to write something like this but then i never have the time or the willing to do so…
i’m interested too if there’s this