Quickly hacked together mail notification.

Fixes #23 and fixes #30