@@ -1,3 +1,9 @@
+# /// script
+# dependencies = [
+# "requests",
+# ]
+# ///
+
import requests
import os
import imaplib
@@ -0,0 +1,7 @@
+[Unit]
+Description="Check for new email"
+Requires=mail-ntfy.timer
+[Service]
+Type=simple
+ExecStart=uv run /home/powellc/.bin/mail-ntfy.py
@@ -0,0 +1,10 @@
+Description="Timer for checking email"
+[Timer]
+Unit=mail-ntfy.service
+OnBootSec=10s
+OnCalendar=*:0/1
+[Install]
+WantedBy=timers.target