First pass at email notifications.

See #2.