Sends email from notifier object
parcel_send(email_data, type = "text", secret = NULL, sent = "sent-emails.rds")
tibble outputted from note_create
Type of email. Either text or html.
path to secret.json file
Path for sent emails to be saved. You will need this later as a log of sent emails.
# First let's generate a sample output from note_create sample_email <- data.frame(To = c("N. Bluth <[email protected]>", "G.O.B. <[email protected]>"), From = c("Karthik Ram <[email protected]>"), Subject = "This is the subject", Body = "This is the message") # Now send emails with if (FALSE) parcel_send(sample_email, secret)