When I found myself using R in a corporate environment, my workflow went like this: Connect to databases Do stuff to data Email results Yes, there exist options for presenting results that are a bit more modern than the old-fashioned email—R Markdown, Shiny, or even Slack, for example. But email is embedded in corporate culture and will be around for a long time to come. I want to set down how I think a send_email function should work in R.