Daily usage report by ip

HI i looking for a way to get a script that will send me the up and down usage by email.
I have a rb2011 setup