er="43">  <span class="dt">body =</span> <span class="kw"><a href="https://rdrr.io/r/base/paste.html">paste0</a></span>(<span class="st">"Top referrer was: "</span>),top_ref)</a>
<a class="sourceLine" id="cb4-44" data-line-number="44"><span class="kw"><a href="https://rdrr.io/pkg/gmailr/man/gmailr-deprecated.html">send_message</a></span>(daily_email)</a></code></pre></div>
<p>Save the script within RStudio as <code>daily-report.R</code></p>
<p>You can then use <a href="https://github.com/bnosac/cronR"><code