hi carlosinfl ,
you wouldn't be needed to create a script for this just use this command and pipe it to a file and mail..
/opt/rational/base/cots/flexlm.11.8/i386_linux2/lmstat -a > lmstat`date +%F_%T`.txt; mutt -s "Output of the Command" -a lmstat`date +%F_%T`.txt firstname.lastname@example.org
and the mail will be send to you at email@example.com
you just need to make sure that your server can send the mail to your id..