Kue queue Event Listener

Hi Guys,
I have implement event listener
events.js

Event.on("user::created", "User.created");

listeners/User.js

User.created = async ({ user, token }) => {
  console.log(token);

  await Mail.send(
    "email.newuser",
    { user: user.toJSON(), token: encodeURIComponent(token) },
    (message) => {
      message
        .to(user.email)
        .from(`<${Env.get("MAIL_USERNAME")}>`)
        .subject("Thanks for registering!");
    }
  );
};

everything works fine but i want to implement the jobs queue (mail) with Kue but i don’t know how to add it :thinking:
Any help please.

This talks about service providers and has examples about Bee queue. Might be similar with Kue (haven’t used either of those)

https://adonisjs.com/docs/4.1/service-providers