Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import * as Cloudflare from "@/Cloudflare/index.ts";
const senderAddress = process.env.CLOUDFLARE_TEST_EMAIL_FROM;
const destinationAddress = process.env.CLOUDFLARE_TEST_EMAIL_TO;
/**
* `send_email` binding for the deployed test Worker. Restricted to the
* sender/destination pair supplied via env so the e2e test exercises a
* real `.send()` round-trip against Cloudflare.
*/
export const Email = Cloudflare.Email.SendEmail("Email", {
allowedSenderAddresses: senderAddress ? [senderAddress] : undefined,
destinationAddress,
});