I'm trying to send an email after successful boot and made this unit file:

[Unit]
Description=Send an email on successful boot
After=boot-complete.target
Conflicts=shutdown.target
Before=shutdown.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/local/sbin/bootnotify %N

[Install]
RequiredBy=boot-complete.target


I have enabled this, but upon reboot, my bootnotify script doesn't kick off. Any ideas of what's wrong?