#!/bin/sh DELAY="30" while : do offlineimap notmuch new sleep "${DELAY}" done