onRecordAfterCreateRequest((e) => { const message = new MailerMessage({ from: { address: $app.settings().meta.senderAddress, name: $app.settings().meta.senderName, }, to: [{address: e.record.email()}], subject: "Are you ready to launch 10x faster?", html: `
You're Going To Love What Happens Next
${e.record.get("firstName")} your next launch is closer than you think.

FastPocket will 10x your development process
We're really excited to help you develop apps quickly. Check out the tools we are using to help you build at 10x. When you are ready to start producing apps at max capacity click the button below.
Build Now!
Thanks,
The FastPocket Team
`, // bcc, cc and custom headers are also supported... }) $app.newMailClient().send(message) }, "user") routerAdd("GET", "/hello/:name", (c) => { let name = c.pathParam("name") return c.json(200, { "message": "Hello " + name }) })