This script connects to an IMAP server and sends a ntfy.sh for each new email. Usage : imap-ntfy.sh [email protected] password server:993 ntfy.sh/topic_name Inspired from : https://github.com/johan-adriaans/shell-imap-notify