I have a bunch of empty queues in my queue list

I need rabbitmq to send an alert/notification/email, if an empty queue stays for more than x minutes.
x minutes= threshold time {that I'll set later}
Is there a way to do so? I'm okay to do so via GUI or CLI. Please let me know.
Thanks,
Venu