Skip to contents

Send mail

Send email

mail_merge()
Merges data into an email and send.
mm_send_mail()
Send email.
mm_send_draft()
Send draft email.

Preview email

Preview email in the RStudio viewer pane

in_viewer()
Display email message in RStudio viewer pane.
preview_mailmerge()
Preview mailmerge as shiny gadget in RStudio preview pane.

Internal functions

Mail preparation

mm_read_googledoc()
Read a markdown file from google drive
mm_read_message()
Parse a markdown document into yaml and body components.
mm_read_message_googledoc()
Parse the email template inside a markdown document on google drive.