Instead of >> log.txt you would simply pipe the output into the mail command: | mail -s "Subject goes here" [email protected].

See this page for more examples: http://www.binarytides.com/linux-mail-command-examples/