Data Transfer Over Limit Notification

Dear Admins,

I was wondering if there’s a script for my CCR1072 to send an email when the data rate limit is exceeded after a specific amount of time?

So for example,if my Rx or Tx value > 300 Mbps for more than 10 mns, send an email.

Thanks