#!/usr/bin/env bash
# Notmuch pre-new hook

# This hook is invoked by the new command before scanning  or  im‐
# porting  new messages into the database. If this hook exits with
# a non-zero status, notmuch will abort further processing of  the
# new command.

# Typically  this hook is used for fetching or delivering new mail
# to be imported into the database.

# TODO: In notmuch v0.35, the location of this hook becomes configurable.
# When I have that installed, I want to move this to ~/.config/notmuch.

/home/acdw/usr/scripts/syncmail