postfix
Configure server to use a Gmail account
This article covers it pretty well.
View mail queue
mailq
or
postqueue -p
Flush the queue
postqueue -f
Sent test message to yourself
echo "Test email from Proxmox Backup Server" | mail -s "Test Email" test@me.me