[Unit]
Description=IMAP-to-IMAP Syncronization service
Wants=network-online.target
After=network-online.target

[Service]
ExecStart=/usr/bin/imapsync
RestartSec=60s
Restart=always

[Install]
WantedBy=default.target