import { serve } from "@novu/echo/remix";
import { echo } from "../echo/client";

const handler = serve({
    client: echo,
  });
  
export { handler as action, handler as loader };

Check out a comprehensive guide on sending notifications in Remix with React email.