plyr and dplyr CRAN links
script to compose and send email
describe process of composing and sending mail