{"agent":"claude","input":"Send an order confirmation email from this Medusa backend. Read AGENTS.md, apps/backend/medusa-config.ts, apps/backend/package.json, apps/backend/.env.template, apps/backend/src/subscribers/README.md, apps/backend/src/workflows/README.md, apps/backend/src/api/middlewares.ts, apps/backend/src/migration-scripts/initial-data-seed.ts, apps/backend/jest.config.js and apps/backend/integration-tests/ first. Add an order.placed subscriber that only runs a workflow with the order id; a workflow that reads the order with its email, display id, totals, items, shipping address and shipping method through the query graph and creates a notification on the email channel with a rendered HTML and text body; a notification provider in medusa-config.ts, using the local provider so the change runs anywhere and leaving the SendGrid configuration commented with the variables it needs; and the variables in .env.template. Write a unit test for the workflow against a seeded order and an HTTP integration test that completes a cart and asserts the notification. Start Postgres in your sandbox, run migrations and the seed, run lint, build and both test types, paste the rendered email, and open a pull request with the output.","resources":[{"url":"https://github.com/your-org/your-app"}]}