Routing directly to specified agent

I'm attempting to send a mail directly to an agent. The two endpoints i tried for this are:

The problem with the first one is that mails only can be assigned to an agent that is on queue.
And the second works as intended except if the agent declines the mail, the mail just seems to disconnect instead of going back to the queue.

Any ideas are welcome!

Hi Steknav,

What behavior are you looking for here ?

Hi Zino

Basically the what /replace does, except that the mail returns back to the queue if the agent declines the mail.

Hi Steknav,

Your question would be best addressed by going through Care or posting on Genesys Cloud Community to see how other customers may have handled your use case.