add configure option for mail program

fixes #24

since we use @MAIL_PROG@ in our sample config, we need to provide a way to set it
by configure and at least set it to a good default.