Skip to content

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.

495 B
Raw Blame
import * as sesv2 from "@distilled.cloud/aws/sesv2";
import * as Layer from "effect/Layer";
import { makeSendScopedHttpBinding } from "./BindingHttp.ts";
import { SendEmail } from "./SendEmail.ts";

export const SendEmailHttp = Layer.effect(
  SendEmail,
  makeSendScopedHttpBinding({
    tag: "AWS.SES.SendEmail",
    operation: sesv2.sendEmail,
    actions: [
      "ses:SendEmail",
      "ses:SendRawEmail",
      "ses:SendTemplatedEmail",
      "ses:SendBulkTemplatedEmail",
    ],
  }),
);