> ## Documentation Index
> Fetch the complete documentation index at: https://docs.autosend.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to send emails from Customer.io with SMTP

> Configure Customer.io to send emails through AutoSend SMTP.

export const APP_PATHS = {
  home: '/',
  quickstart: '/quickstart',
  domainConfiguration: '/domain',
  apiReference: '/api-reference',
  sendEmail: '/api-reference/mails/send',
  bulkSendEmail: '/api-reference/mails/bulk',
  upsertContactApiRef: '/api-reference/contacts/upsert-contact',
  transactional: '/transactional-emails',
  emailActivity: '/transactional-emails/email-activity',
  emailTemplates: '/transactional-emails/email-templates',
  sendingEmail: '/quickstart/email-using-api',
  transactionalTroubleshooting: '/transactional-emails/troubleshooting',
  marketing: '/marketing-emails',
  campaigns: '/marketing-emails/campaigns',
  contacts: '/marketing-emails/contacts',
  contactsIntroduction: '/marketing-emails/contacts/introduction',
  contactsImportCsv: '/marketing-emails/contacts/import-csv',
  contactsLists: '/marketing-emails/contacts/lists',
  contactsSegments: '/marketing-emails/contacts/segments',
  contactsCustomFields: '/marketing-emails/contacts/contact-properties',
  contactsContactProperties: '/marketing-emails/contacts/contact-properties',
  createContactPropertyApiRef: '/api-reference/contact-properties/create',
  listContactPropertiesApiRef: '/api-reference/contact-properties/list',
  getContactPropertyApiRef: '/api-reference/contact-properties/get-by-name',
  deleteContactPropertyApiRef: '/api-reference/contact-properties/delete',
  sender: '/marketing-emails/sender',
  unsubscribeGroups: '/others/unsubscribe-groups',
  webhookIntroduction: '/others/webhooks/introduction',
  webhookEventType: '/others/webhooks/event-type',
  webhookRetries: '/others/webhooks/retries',
  webhookVerifyRequests: '/others/webhooks/verify-requests',
  dynamicTemplates: '/dynamic-templates',
  guides: '/guides',
  sitemap: '/sitemap.xml',
  team: '/others/team',
  automations: '/automations',
  events: '/automations/events',
  sendEventApi: '/api-reference/events/send-event',
  smtpIntroduction: '/quickstart/smtp',
  betterAuth: '/guides/better-auth',
  convexGuide: '/guides/convex',
  templateVariables: '/transactional-emails/variables',
  suppressions: '/others/suppressions',
  rateLimit: '/api-reference/rate-limit',
  nodejsSdk: '/sdk/nodejs',
  smtpIntegrationGuides: '/guides/smtp',
  apiKeys: '/api-keys',
  encryptedPayloads: '/others/encrypted-payloads',
  apiReferenceIntroduction: '/api-reference/introduction',
  lovableGuide: '/ai/integrations/lovable',
  aiIntroduction: '/ai/introduction',
  aiSkills: '/ai/skills',
  aiMcpServer: '/ai/mcp-server',
  aiLovable: '/ai/integrations/lovable',
  aiBolt: '/ai/integrations/bolt',
  aiV0: '/ai/integrations/v0',
  aiReplit: '/ai/integrations/replit',
  mcpClaude: '/ai/mcp-clients/claude',
  mcpCursor: '/ai/mcp-clients/cursor',
  mcpCopilot: '/ai/mcp-clients/copilot',
  mcpWindsurf: '/ai/mcp-clients/windsurf',
  mcpCodex: '/ai/mcp-clients/codex',
  mcpAntigravity: '/ai/mcp-clients/antigravity',
  mcpChatgpt: '/ai/mcp-clients/chatgpt',
  mcpRaycast: '/ai/mcp-clients/raycast',
  domainWarmup: '/marketing-emails/domain-warmup',
  projects: '/projects',
  createAutomationApi: '/api-reference/automations/create-automation',
  migrationSendgrid: '/migration/sendgrid',
  migrationResend: '/migration/resend',
  auth0CustomAction: '/guides/auth0-custom-action',
  accountBilling: '/others/account/billing',
  accountUsage: '/others/account/usage',
  inboundIntroduction: '/inbound/introduction',
  listInboundMessagesApi: '/api-reference/inbound-emails/list-messages',
  getInboundMessageApi: '/api-reference/inbound-emails/get-message',
  downloadInboundAttachmentApi: '/api-reference/inbound-emails/download-attachment',
  replyToInboundMessageApi: '/api-reference/inbound-emails/reply-to-message',
  wikiDailySendingLimit: '/wiki/daily-sending-limit'
};

export const AUTOSEND_PATHS = {
  dashboard: 'https://autosend.com/dashboard',
  apiKey: 'https://autosend.com/account/api-key',
  faqs: 'https://autosend.com/faq',
  marketingEmails: 'https://autosend.com/marketing-emails',
  webhooks: 'https://autosend.com/webhooks',
  composeByAutoSend: 'https://autosend.com/compose',
  emailActivity: 'https://autosend.com/email-activities',
  team: 'https://autosend.com/settings/team',
  pricing: 'https://autosend.com/pricing',
  verifyEmail: 'https://autosend.com/compose/email-builder?template=verify-email',
  welcomeEmail: 'https://autosend.com/compose/email-builder?template=welcome-email',
  productUpdate: 'https://autosend.com/compose/email-builder?template=product-update',
  newsletter: 'https://autosend.com/compose/email-builder?template=newsletter',
  automations: 'https://autosend.com/automations',
  globalSuppressions: 'https://autosend.com/suppressions/global',
  signup: 'https://autosend.com/signup',
  domains: 'https://autosend.com/settings/domains',
  smtpKey: 'https://autosend.com/settings/smtp',
  logoKit: 'https://asend.email/logo',
  contactsPage: 'https://autosend.com/contacts/list-and-segments',
  accountBilling: 'https://autosend.com/account/billing',
  accountUsage: 'https://autosend.com/account/usage',
  terms: 'https://autosend.com/legal/terms',
  inbound: 'https://autosend.com/email-activities/inbound'
};

<Frame>
  <img src="https://mintcdn.com/autosend-13920f5c/9RYyFcIHf2w6O1Z8/images/smtp/autosendxcustomerio.jpg?fit=max&auto=format&n=9RYyFcIHf2w6O1Z8&q=85&s=067d409b787229767e85f1ab4fa83062" alt="AutoSend x Customer.io" width="1800" height="600" data-path="images/smtp/autosendxcustomerio.jpg" />
</Frame>

Customer.io is a messaging platform for marketing, transactional emails, push notifications, and in-app messages. By default, Customer.io uses its built-in email service, but you can configure it to use AutoSend SMTP for better deliverability and email tracking.

## Prerequisites

<CardGroup cols={2}>
  <Card title="Verified Domain" href="https://autosend.com/settings/domains">
    Make sure you have a verified domain added in AutoSend to send emails from.
  </Card>

  <Card title="SMTP Key" href={AUTOSEND_PATHS.smtpKey}>
    Create a project-specific SMTP key from the SMTP tab in Project Settings.
  </Card>
</CardGroup>

## Configuration

<Steps>
  <Step title="Navigate to Email Settings" titleSize="h3">
    1. Log in to your [Customer.io Dashboard](https://fly.customer.io/)
    2. Go to **Settings** > **Workspace Settings**
    3. Click on **Email**

    <Frame>
      <img src="https://mintcdn.com/autosend-13920f5c/9RYyFcIHf2w6O1Z8/images/smtp/customerio-step-1.png?fit=max&auto=format&n=9RYyFcIHf2w6O1Z8&q=85&s=af9817d729f85de68d475ed4edf2d9ab" alt="Supabase Step 1" width="2528" height="1294" data-path="images/smtp/customerio-step-1.png" />
    </Frame>
  </Step>

  <Step title="Add Custom SMTP Server" titleSize="h3">
    1. Click on **Custom SMTP**
    2. Select **Add Custom SMTP Server**

    <Frame>
      <img src="https://mintcdn.com/autosend-13920f5c/-kTVH2HFtxeyw5WL/images/smtp/customerio-step-2.png?fit=max&auto=format&n=-kTVH2HFtxeyw5WL&q=85&s=633c03228ce9e9c7b38c729ec4c012a4" alt="Supabase Step 2" width="1866" height="884" data-path="images/smtp/customerio-step-2.png" />
    </Frame>
  </Step>

  <Step title="Select SMTP Provider" titleSize="h3">
    Select **Other SMTP** as your provider type and click **Continue to set up**.

    <Frame>
      <img src="https://mintcdn.com/autosend-13920f5c/-kTVH2HFtxeyw5WL/images/smtp/customerio-step-3.png?fit=max&auto=format&n=-kTVH2HFtxeyw5WL&q=85&s=67c29ec8cc071716e41e88a0ee4c2156" alt="Supabase Step 3" width="1640" height="1072" data-path="images/smtp/customerio-step-3.png" />
    </Frame>
  </Step>

  <Step title="Enter SMTP Credentials" titleSize="h3">
    Fill in the following settings:

    | Field              | Value                             |
    | ------------------ | --------------------------------- |
    | **Address**        | `smtp.autosend.com`               |
    | **Port**           | `587` (or `465` for implicit TLS) |
    | **Authentication** | Select `Plain`                    |
    | **Username**       | `autosend`                        |
    | **Password**       | Your AutoSend SMTP key (AS\_xxx)  |

    <Note>
      The SMTP password is no longer your API key. Create a project-specific SMTP key from the SMTP tab in <a href={AUTOSEND_PATHS.smtpKey} target="_blank" rel="noopener noreferrer">Project Settings</a>.
    </Note>

    <Frame>
      <img src="https://mintcdn.com/autosend-13920f5c/-kTVH2HFtxeyw5WL/images/smtp/customerio-step-4.png?fit=max&auto=format&n=-kTVH2HFtxeyw5WL&q=85&s=e57edbf82fd52ca6c37980e186771325" alt="Supabase Step 1" width="2514" height="1414" data-path="images/smtp/customerio-step-4.png" />
    </Frame>

    <Note>
      Customer.io does not support port 25. Use port 587, 465, or 2525 instead.
    </Note>

    Click **Finish set up** to save your configuration.
  </Step>

  <Step title="Add a Sending Domain" titleSize="h3">
    Before sending emails, add a sending domain in Customer.io that matches your verified domain in AutoSend.

    1. Go to **Settings** → **Workspace Settings** → **Email**
    2. Under **Sending Domains**, add your domain (e.g., `yourdomain.com`)

    <Frame>
      <img src="https://mintcdn.com/autosend-13920f5c/-kTVH2HFtxeyw5WL/images/smtp/customerio-step-5.png?fit=max&auto=format&n=-kTVH2HFtxeyw5WL&q=85&s=6ed5e6c2a14835323c2be4825a5d3a03" alt="Supabase Step 5" width="2508" height="1150" data-path="images/smtp/customerio-step-5.png" />
    </Frame>
  </Step>

  <Step title="Send a Test Email" titleSize="h3">
    Create a test campaign or broadcast to verify your SMTP configuration is working correctly.

    You can also check the <a href={AUTOSEND_PATHS.emailActivity} target="_blank" rel="noopener noreferrer">Email Activity</a> dashboard to verify the email was sent through AutoSend.
  </Step>
</Steps>

## Troubleshooting

<AccordionGroup>
  <Accordion title="Emails not being sent">
    * Verify your SMTP credentials are correct - Check that your sender email domain is verified in
      AutoSend - Ensure you've added a sending domain in Customer.io - Check Customer.io's delivery
      logs for SMTP connection errors
  </Accordion>

  <Accordion title="Authentication failed">
    * Double-check your SMTP key is correct - Ensure you're using `autosend` as the username - Verify
      your SMTP key is active in the <a href={AUTOSEND_PATHS.smtpKey} target="_blank" rel="noopener noreferrer">SMTP Settings</a>
  </Accordion>

  <Accordion title="Connection errors">
    * Verify the server address is `smtp.autosend.com` - Try using port `465` or `2525` if port
      `587` fails - Remember that port 25 is not supported by Customer.io
  </Accordion>

  <Accordion title="Emails going to spam">
    * Ensure your domain has proper DNS records (SPF, DKIM, DMARC) - Use a professional sender name
      and address - Check your domain reputation in AutoSend
  </Accordion>
</AccordionGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="Verify Your Domain" icon="https://mintcdn.com/autosend-13920f5c/nx_wYfWx3qeZwg1C/icons/domain.svg?fit=max&auto=format&n=nx_wYfWx3qeZwg1C&q=85&s=9393f9f9b0f7029e6ba8acf2bc09d864" href="/domain" width="24" height="24" data-path="icons/domain.svg">
    Set up SPF, DKIM, and DMARC for better deliverability
  </Card>

  <Card title="Email Activity" icon="https://mintcdn.com/autosend-13920f5c/nx_wYfWx3qeZwg1C/icons/email-activity.svg?fit=max&auto=format&n=nx_wYfWx3qeZwg1C&q=85&s=2ecad7369f217ee7d03c3d8dfdd36d22" href="/transactional-emails/email-activity" width="24" height="24" data-path="icons/email-activity.svg">
    Monitor your email delivery and engagement
  </Card>

  <Card title="Webhooks" icon="https://mintcdn.com/autosend-13920f5c/nx_wYfWx3qeZwg1C/icons/webhook.svg?fit=max&auto=format&n=nx_wYfWx3qeZwg1C&q=85&s=14ad6675c71731ac04f786559a813ee1" href="/others/webhooks/introduction" width="24" height="24" data-path="icons/webhook.svg">
    Set up webhooks to track email events in real-time
  </Card>

  <Card title="SMTP Introduction" icon="https://mintcdn.com/autosend-13920f5c/nx_wYfWx3qeZwg1C/icons/smtp.svg?fit=max&auto=format&n=nx_wYfWx3qeZwg1C&q=85&s=d1993edda392d54c3f704a9a4bb04442" href="/quickstart/smtp" width="24" height="24" data-path="icons/smtp.svg">
    Learn more about AutoSend SMTP configuration
  </Card>
</CardGroup>
