Here are my 2 cents, since I'm WAY lazier than ©locknessKo, and you might already have a functioning mail sender in your proxmox, and my bash capabilities are almost non existent, here was my solution (which involved a ton of copy/paste/change from many, many places):
I have a cron that runs...