Notify via email when an R script completes or errors.