# Integrate AutoSend with Bolt Source: https://docs.autosend.com/ai/integrations/bolt Send emails from your Bolt app using AutoSend's email API. Bolt Bolt is an AI-powered platform that lets you build full-stack web apps from natural language prompts. You can integrate AutoSend into any Bolt project to send transactional emails like welcome emails, password resets, order confirmations, and notifications. ## Prerequisites Sign up for an AutoSend account to get started with sending emails. Make sure you have a verified domain added in AutoSend. Create a new API key from your AutoSend dashboard. Sign up for Bolt to start building apps. ## Integration Copy and paste this prompt into Bolt's chat: ```text theme={null} Integrate AutoSend email API for sending transactional emails. API Details: - Base URL: https://api.autosend.com/v1 - Auth: Bearer token using API key stored in environment variable AUTOSEND_API_KEY - Endpoint: POST /mails/send - Content-Type: application/json Request body format: { "to": { "email": "recipient@example.com", "name": "Jane Doe" }, "from": { "email": "hello@mail.yourdomain.com", "name": "Your App Name" }, "subject": "Your subject line", "html": "

Hello!

Your email content here.

" } Response format: { "success": true, "data": { "emailId": "698afb75ff4bc5466e3a797a", "message": "Email queued successfully.", "totalRecipients": 1 } } Create a server-side API route or function that: 1. Reads AUTOSEND_API_KEY from environment variables 2. Accepts to, from, subject, and html in the request body 3. Calls the AutoSend API with Bearer token auth 4. Returns the response to the client The "from" email must use a domain verified in AutoSend. Docs: https://docs.autosend.com/quickstart/email-using-api ``` Bolt will generate the backend code and wire it into your app automatically.
Add your AutoSend API key as an environment variable in your Bolt project settings with the name `AUTOSEND_API_KEY`. Get your API key from the API Keys page in your AutoSend dashboard. Trigger the email flow in your app (for example, submitting a contact form). Check your Email Activity in the AutoSend dashboard to confirm the email was delivered.
## Using Email Templates If you have created email templates in AutoSend, you can send emails using a `templateId` instead of inline HTML. Update the prompt to include: ```text theme={null} Also support sending emails with a templateId and variables. Example request body with template: { "to": { "email": "recipient@example.com", "name": "Jane Doe" }, "from": { "email": "hello@yourdomain.com", "name": "Your App Name" }, "subject": "Welcome!", "templateId": "your_template_id", "dynamicData": { "firstName": "Jane", "loginLink": "https://yourapp.com/login" } } ``` ## Troubleshooting Make sure your `AUTOSEND_API_KEY` is correctly added in your project's environment variables. Also verify that your sending domain is verified in AutoSend by checking **Settings > Domains** in your dashboard. Double-check that your code is reading the API key from environment variables correctly. The Authorization header should be `Bearer YOUR_API_KEY` with no extra spaces or quotes. Make sure you have completed domain verification including SPF, DKIM, and DMARC records. We recommend using a subdomain like `mail.yourdomain.com` for sending. See our domain setup guide for details. ## Next Steps Create reusable email templates with dynamic variables. Monitor delivery status and engagement for all emails. Full API documentation with all endpoints and parameters. Personalize emails with dynamic variables. # Integrate AutoSend with Lovable Source: https://docs.autosend.com/ai/integrations/lovable Add email sending to your Lovable app using AutoSend's email API. Lovable Lovable is an AI-powered platform that lets you build full-stack web apps from natural language prompts. You can integrate AutoSend into any Lovable project to send transactional emails like welcome emails, password resets, order confirmations, and notifications. AutoSend works with Lovable through its REST API. Since the API requires an API key, Lovable will use **Supabase Edge Functions** to keep your credentials secure. ## Prerequisites Sign up for an AutoSend account to get started with sending emails. Make sure you have a verified domain added in AutoSend to send emails from. Create a new API key from your AutoSend dashboard for authentication. Connect Supabase to your Lovable project to use Edge Functions. ## Integration Lovable uses Supabase Edge Functions to securely handle API keys. If you haven't connected Supabase yet, click the **Supabase** icon in your Lovable project and follow the authorization steps. 1. In your Lovable project, go to **Supabase > Secrets** 2. Add a new secret with the name `AUTOSEND_API_KEY` 3. Paste your AutoSend API key as the value Get your API key from the API Keys page in your AutoSend dashboard. Copy and paste this prompt into Lovable's chat: ```text theme={null} Integrate AutoSend email API for sending transactional emails. API Details: - Base URL: https://api.autosend.com/v1 - Auth: Bearer token using the AUTOSEND_API_KEY secret - Endpoint: POST /mails/send - Content-Type: application/json Request body format: { "to": { "email": "recipient@example.com", "name": "Jane Doe" }, "from": { "email": "hello@mail.yourdomain.com", "name": "Your App Name" }, "subject": "Your subject line", "html": "

Hello!

Your email content here.

" } Response format: { "success": true, "data": { "emailId": "698afb75ff4bc5466e3a797a", "message": "Email queued successfully.", "totalRecipients": 1 } } Create a Supabase Edge Function called "send-email" that: 1. Reads AUTOSEND_API_KEY from environment secrets 2. Accepts to, from, subject, and html in the request body 3. Calls the AutoSend API with Bearer token auth 4. Returns the response to the client The "from" email must use a domain verified in AutoSend. Docs: https://docs.autosend.com/quickstart/email-using-api ``` Lovable will generate a Supabase Edge Function and wire it into your app automatically.
Once Lovable finishes generating the code, trigger the email flow in your app (for example, submitting a contact form). Check your Email Activity in the AutoSend dashboard to confirm the email was delivered.
## Using Email Templates If you have created email templates in AutoSend, you can send emails using a `templateId` instead of inline HTML. Update the prompt to include: ```text theme={null} Also support sending emails with a templateId and variables. Example request body with template: { "to": { "email": "recipient@example.com", "name": "Jane Doe" }, "from": { "email": "hello@yourdomain.com", "name": "Your App Name" }, "subject": "Welcome!", "templateId": "your_template_id", "dynamicData": { "firstName": "Jane", "loginLink": "https://yourapp.com/login" } } ``` ## Example Use Cases Here are some common ways to use AutoSend in your Lovable apps: * **Contact forms** that send a confirmation email to the user and a notification to your team * **User signup flows** with welcome emails or email verification * **Order confirmations** and shipping notifications for e-commerce apps * **Password reset emails** triggered from your auth flow * **Newsletter signups** that send a double opt-in confirmation ## Troubleshooting Make sure your `AUTOSEND_API_KEY` is correctly added in Supabase Secrets. Also verify that your sending domain is verified in AutoSend by checking **Settings > Domains** in your dashboard. Double-check that the Edge Function is reading the secret correctly. The Authorization header should be `Bearer YOUR_API_KEY` with no extra spaces or quotes. Make sure you have completed domain verification including SPF, DKIM, and DMARC records. We recommend using a subdomain like `mail.yourdomain.com` for sending. See our domain setup guide for details. Lovable may sometimes show false positive build errors. Always test your app live by triggering the actual email flow. If the Edge Function deploys successfully in Supabase, the integration is likely working. ## Next Steps Create reusable email templates with dynamic variables. Monitor delivery status and engagement for all emails. Full API documentation with all endpoints and parameters. Personalize emails with dynamic variables. # Integrate AutoSend with Replit Source: https://docs.autosend.com/ai/integrations/replit Add email capabilities to your Replit project using AutoSend. Replit Replit is a collaborative, AI-powered development platform that lets you build and deploy apps from your browser. You can integrate AutoSend into any Replit project to send transactional emails like welcome emails, password resets, order confirmations, and notifications. ## Prerequisites Sign up for an AutoSend account to get started with sending emails. Make sure you have a verified domain added in AutoSend. Create a new API key from your AutoSend dashboard. Sign up for Replit to start building. ## Integration 1. In your Replit project, open the **Secrets** tab (lock icon in the sidebar) 2. Add a new secret with the key `AUTOSEND_API_KEY` 3. Paste your AutoSend API key as the value Get your API key from the API Keys page in your AutoSend dashboard. Copy and paste this prompt into Replit's AI chat: ```text theme={null} Integrate AutoSend email API for sending transactional emails. API Details: - Base URL: https://api.autosend.com/v1 - Auth: Bearer token using the AUTOSEND_API_KEY secret - Endpoint: POST /mails/send - Content-Type: application/json Request body format: { "to": { "email": "recipient@example.com", "name": "Jane Doe" }, "from": { "email": "hello@mail.yourdomain.com", "name": "Your App Name" }, "subject": "Your subject line", "html": "

Hello!

Your email content here.

" } Response format: { "success": true, "data": { "emailId": "698afb75ff4bc5466e3a797a", "message": "Email queued successfully.", "totalRecipients": 1 } } Create a server-side endpoint that: 1. Reads AUTOSEND_API_KEY from environment secrets 2. Accepts to, from, subject, and html in the request body 3. Calls the AutoSend API with Bearer token auth 4. Returns the response to the client The "from" email must use a domain verified in AutoSend. Docs: https://docs.autosend.com/quickstart/email-using-api ``` Replit Agent will generate the backend code and connect it to your app.
Trigger the email flow in your app (for example, submitting a contact form). Check your Email Activity in the AutoSend dashboard to confirm the email was delivered.
## Using Email Templates If you have created email templates in AutoSend, you can send emails using a `templateId` instead of inline HTML. Update the prompt to include: ```text theme={null} Also support sending emails with a templateId and variables. Example request body with template: { "to": { "email": "recipient@example.com", "name": "Jane Doe" }, "from": { "email": "hello@yourdomain.com", "name": "Your App Name" }, "subject": "Welcome!", "templateId": "your_template_id", "dynamicData": { "firstName": "Jane", "loginLink": "https://yourapp.com/login" } } ``` ## Troubleshooting Make sure your `AUTOSEND_API_KEY` is correctly added in Replit Secrets. Also verify that your sending domain is verified in AutoSend by checking **Settings > Domains** in your dashboard. Double-check that your code is reading the secret correctly. The Authorization header should be `Bearer YOUR_API_KEY` with no extra spaces or quotes. Make sure you have completed domain verification including SPF, DKIM, and DMARC records. We recommend using a subdomain like `mail.yourdomain.com` for sending. See our domain setup guide for details. ## Next Steps Create reusable email templates with dynamic variables. Monitor delivery status and engagement for all emails. Full API documentation with all endpoints and parameters. Personalize emails with dynamic variables. # Integrate AutoSend with v0 Source: https://docs.autosend.com/ai/integrations/v0 Integrate AutoSend email sending into your v0 project. v0 v0 is Vercel's AI-powered tool for generating UI components and full-stack applications. You can integrate AutoSend into your v0 project to send transactional emails like welcome emails, password resets, order confirmations, and notifications. ## Prerequisites Sign up for an AutoSend account to get started with sending emails. Make sure you have a verified domain added in AutoSend. Create a new API key from your AutoSend dashboard. Sign up for v0 to start building. ## Integration Copy and paste this prompt into v0's chat: ```text theme={null} Integrate AutoSend email API for sending transactional emails. API Details: - Base URL: https://api.autosend.com/v1 - Auth: Bearer token using API key stored in environment variable AUTOSEND_API_KEY - Endpoint: POST /mails/send - Content-Type: application/json Request body format: { "to": { "email": "recipient@example.com", "name": "Jane Doe" }, "from": { "email": "hello@mail.yourdomain.com", "name": "Your App Name" }, "subject": "Your subject line", "html": "

Hello!

Your email content here.

" } Response format: { "success": true, "data": { "emailId": "698afb75ff4bc5466e3a797a", "message": "Email queued successfully.", "totalRecipients": 1 } } Create a Next.js API route (app/api/send-email/route.ts) that: 1. Reads AUTOSEND_API_KEY from process.env 2. Accepts to, from, subject, and html in the request body 3. Calls the AutoSend API with Bearer token auth 4. Returns the response to the client The "from" email must use a domain verified in AutoSend. Docs: https://docs.autosend.com/quickstart/email-using-api ``` v0 will generate the API route and any UI components needed for your email flow.
When you deploy your v0 project to Vercel, add `AUTOSEND_API_KEY` as an environment variable in your Vercel project settings. For local development, add it to your `.env.local` file: ```bash .env.local theme={null} AUTOSEND_API_KEY=your_api_key_here ``` Get your API key from the API Keys page in your AutoSend dashboard. Trigger the email flow in your app (for example, submitting a contact form). Check your Email Activity in the AutoSend dashboard to confirm the email was delivered.
## Using Email Templates If you have created email templates in AutoSend, you can send emails using a `templateId` instead of inline HTML. Update the prompt to include: ```text theme={null} Also support sending emails with a templateId and variables. Example request body with template: { "to": { "email": "recipient@example.com", "name": "Jane Doe" }, "from": { "email": "hello@yourdomain.com", "name": "Your App Name" }, "subject": "Welcome!", "templateId": "your_template_id", "dynamicData": { "firstName": "Jane", "loginLink": "https://yourapp.com/login" } } ``` ## Troubleshooting Make sure your `AUTOSEND_API_KEY` is set in your Vercel environment variables (for production) or `.env.local` (for local development). Also verify that your sending domain is verified in AutoSend. Double-check that the API route is reading the API key correctly from `process.env.AUTOSEND_API_KEY`. The Authorization header should be `Bearer YOUR_API_KEY`. Make sure you have completed domain verification including SPF, DKIM, and DMARC records. We recommend using a subdomain like `mail.yourdomain.com` for sending. See our domain setup guide for details. ## Next Steps Create reusable email templates with dynamic variables. Monitor delivery status and engagement for all emails. Full API documentation with all endpoints and parameters. Personalize emails with dynamic variables. # Agentic Integrations Source: https://docs.autosend.com/ai/introduction Enable AI agents to work seamlessly with AutoSend. Our MCP server and skills integrate with coding agents, MCP clients, and no-code platforms. AutoSend integrates with AI coding agents and no-code AI tools so you can add email capabilities to any AI-built application. Whether you're using a coding agent like Cursor or a no-code tool like Lovable, AutoSend makes it easy to send transactional emails, save contacts for marketing campaigns, trigger email automations, and more. ## Developer Tools Connect AutoSend's MCP server to build email campaigns and templates with AI tools using natural language. Install the AutoSend skill so AI agents can seamlessly integrate AutoSend's email API into your code. ## AI Coding Agents Connect AutoSend MCP server with Claude Desktop and Claude Code. Connect AutoSend MCP server with Cursor. Connect AutoSend MCP server with GitHub Copilot. Connect AutoSend MCP server with Windsurf. Connect AutoSend MCP server with OpenAI Codex. Connect AutoSend MCP server with Antigravity. Connect AutoSend MCP server with ChatGPT. ## AI App Builders Integrate AutoSend with your Lovable app. Integrate AutoSend with your Bolt app. Integrate AutoSend with your v0 project. Integrate AutoSend with your Replit project. # Connect AutoSend MCP to Antigravity Source: https://docs.autosend.com/ai/mcp-clients/antigravity Set up AutoSend MCP server in Google Antigravity. Autosend MCP ## Setup Antigravity is Google's AI-powered coding environment. To connect AutoSend MCP, add the following configuration to your `~/.gemini/settings.json` file: ```json theme={null} { "mcpServers": { "autosend": { "command": "npx", "args": ["mcp-remote", "https://mcp.autosend.com/"] } } } ``` Restart your environment to apply the configuration. When prompted, follow the OAuth flow to authorize access to your AutoSend account. ## Next Steps See all available tools, guided workflows, and examples. Install skill files for additional AI agent context. # Connect AutoSend MCP to ChatGPT Source: https://docs.autosend.com/ai/mcp-clients/chatgpt Set up AutoSend MCP server as a connector in ChatGPT. Autosend Mcp Chatgpt ## Setup Go to **Settings > Connectors > Advanced settings** and enable **Developer mode**. Open **Settings**, go to the **Connectors** tab, and click **Create** to add a new connector. Enter the following details: * **Name:** `AutoSend` * **MCP server URL:** `https://mcp.autosend.com/` * **Authentication:** `OAuth` Click **Create**. The AutoSend connector will appear in the composer's Developer mode tool. Follow the OAuth prompt to log in to your AutoSend account. MCP connectors in ChatGPT are available for Pro and Plus accounts on the web. ## Next Steps See all available tools, guided workflows, and examples. Install skill files for additional AI agent context. # Connect AutoSend MCP to Claude Source: https://docs.autosend.com/ai/mcp-clients/claude Set up AutoSend MCP server in Claude Desktop and Claude Code. Autosend Mcp Claude ## Claude Desktop We'll start by connecting AutoSend MCP to Claude Desktop, which will allow you to use AutoSend tools and workflows directly within the Claude interface.