AI integrations/App builders

Bolt

Add email to a Bolt app

Wire Transmitly into a server-side action with a scoped key, durable acceptance and delivery events.

Bolt-generated apps can call Transmitly from a server function. Keep the key in the platform secret store and make the send idempotent.

Connect

Add Transmitly to Bolt.

Adding signup, receipt or notification email to a generated app.

server function
export async function sendWelcome(email: string) {
  const res = await fetch("https://transmitly.io/v1/emails", {
    method: "POST",
    headers: {
      Authorization: `Bearer ${process.env.TRANSMITLY_API_KEY}`,
      "Content-Type": "application/json",
      "Idempotency-Key": `welcome:${email}`,
    },
    body: JSON.stringify({
      from: "Notify <[email protected]>",
      to: [email],
      subject: "Welcome",
      html: "<p>Your account is ready.</p>",
    }),
  });
  if (!res.ok) throw new Error("Email was not accepted");
  return res.json();
}

Use a dedicated API key. Read-only inspection needs the read scope; inbox replies also need send. Keep the key in an environment variable or secret manager.

What the agent can do

  • Server-side secret handling
  • Idempotent acceptance
  • Provider-aware retries
  • Webhook-driven status updates

Guardrails

  • A 202 means accepted durably, not delivered.
  • Verify the sending domain before enabling the flow.
  • Use test mode while developing the UI.

Example prompts

Ask for evidence, not invented success.

These prompts work well because they force the agent to read message and delivery state before writing code or drafting a reply.

“Add a welcome email to the signup flow using a server function.”

“Use an idempotency key and show accepted vs delivered.”

“Add a webhook handler for bounces and complaints.”

“Keep the API key out of the client bundle.”

Keep going

Docs for the next step.

All AI integrations →