Sends email from notifier object

parcel_send(email_data, type = "text", secret = NULL,
  sent = "sent-emails.rds")

Arguments

email_data

tibble outputted from note_create

type

Type of email. Either text or html.

secret

path to secret.json file

sent

Path for sent emails to be saved. You will need this later as a log of sent emails.

Examples

# 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)