I'm learning the blastula package in r for sending rmarkdown files in the body of an email. This is the code I use:
rmd_email <- render_email('my_rmarkdown.Rmd')
rmd_email %>%
smtp_send(
from = "name@gmail.com",
to = "name@gmail.com",
subject = "report",
credentials = creds_key(id = "gmail")
)
However, the rmarkdown document is not being rendered correctly in the body of the emails I get. It seems that gmail is not decoding the base64 text:
What am I doing wrong?
