3 BOTS sends the same email 3 times after queue is empty

I have 3 robots running a process. The bots work on the queue and once it’s done with the queue, it’s meant to send some emails. What happens now is that the bots send the same email three times.

Is there a way to use just one bot to work on the remaining activities when there’s nothing left on the queue?