add email notifications for successful and unsuccessful runs

Addresses #1