Thanks for your thoughtful reponse.
I was able to get vnstat up and running, but I'm wondering, how can I send mail from my cron job? I tried installing postfix from the debian repo but that failed. And I'm not sure running a full SMTP daemon on the ERL is a good idea in any case.