Action Cabe

How to run action cable in pop3 server ?? when email receive ticket is created and i want to send ticket to front end, real time update with the help of action cable
I create a channel ‘ticket’ and run this command “ActionCable.server.broadcast(‘ticket’, ticket: ticket)” But it return nill.