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

# Connect Gmail or Outlook

> Let Soda learn from your email.

Connect your mailbox, and Soda [learns from your email conversations](/docs/memory/how-memory-works) as well as your calls. It also [drafts follow-ups](/docs/getting-started/your-first-follow-up) in your voice and saves them to your mailbox. Soda never sends an email for you.

## Connect your mailbox

<Steps>
  <Step title="Open Integrations">
    Go to **Settings** > **Integrations**.
  </Step>

  <Step title="Click Connect">
    Click **Connect** next to **Gmail** or **Outlook**. Your browser opens.
  </Step>

  <Step title="Allow the permissions">
    Choose your account and allow what Soda asks for. When your browser says you're connected, close the tab.
  </Step>
</Steps>

<Note>
  Your company may need to approve email access separately, even if Soda is already approved for sign-in. If Soda says your organisation's admin may need to approve email access, see [If your company needs to approve Soda](/docs/getting-started/install-and-sign-in#if-your-company-needs-to-approve-soda).
</Note>

The first mailbox you connect starts two things by itself:

* Soda catches up on your last 30 days of email, up to 600 conversations. You'll see **Backfilling memory** while it works.
* Soda builds your [Voice Profile](/docs/using-soda/voice-profile).

A mailbox you add later is kept in sync from the moment you connect it.

## What Soda reads

Soda reads your conversations with people. It skips newsletters, marketing, automated notifications, no-reply senders, and calendar invites. It also skips anyone you've [excluded](/docs/memory/exclude-people-and-domains). It doesn't read attachments.

Only you can see what Soda learns from your email, unless you [share it](/docs/using-soda/share).

## Stop Soda reading new email

Go to **Settings** > **Privacy** and turn off **Gmail** or **Outlook**. Soda stops learning from new email in that mailbox. What it has already learned stays, and follow-ups still work. Turn it back on at any time.

<img src="https://mintcdn.com/soda-c3260b41/A-V2tOtPrPz4a2mV/images/Stop-Soda-using-my-emails-to-build-memory-but-keep-the-integration-active-so-it-can-still-sent-follow-up-emails-after-meetings.png?fit=max&auto=format&n=A-V2tOtPrPz4a2mV&q=85&s=60580e3594f77164990f7897cc12da2e" alt="Stop Soda Using My Emails To Build Memory But Keep The Integration Active So It Can Still Sent Follow Up Emails After Meetings" width="1200" height="450" data-path="images/Stop-Soda-using-my-emails-to-build-memory-but-keep-the-integration-active-so-it-can-still-sent-follow-up-emails-after-meetings.png" />

## Disconnect, and what happens to your data

<Steps>
  <Step title="Open the menu">
    In **Settings** > **Integrations**, click **⋯** on the mailbox's row.
  </Step>

  <Step title="Choose Remove Access">
    Soda asks you to confirm: "Soda will stop reading this mailbox. Memories already captured from it stay."
  </Step>

  <Step title="Click Remove Access">
    Soda loses access to that mailbox.
  </Step>
</Steps>

Soda deletes the email text it stored from that mailbox, usually within a day. Your memories, the details Soda learned, your Voice Profile, and your drafts stay. To delete memories too, see [delete your data](/docs/memory/delete-your-data).

You can also remove Soda's access in your Google or Microsoft account. The mailbox then shows **Reconnect needed** in Soda.

## Troubleshooting

<AccordionGroup>
  <Accordion title="Can Soda draft my emails without reading my inbox?">
    Yes. Connect your mailbox, then turn off **Gmail** or **Outlook** in **Settings** > **Privacy**. Soda stops turning your email into memories. It still drafts your follow-ups after calls, in your voice, and saves them to your mailbox.

    To keep your past email out too, turn the switch off before you connect.
  </Accordion>

  <Accordion title="Soda couldn't connect my mailbox">
    You'll see a message like "Couldn't connect Gmail. Please try again or contact support." Click **Connect** again and finish the steps in your browser. If it keeps failing, [contact support](/docs/troubleshooting/contact-support).
  </Accordion>

  <Accordion title="Soda has stopped learning from my email">
    In **Settings** > **Integrations**, check the mailbox for **Reconnect needed**. If it's there, click **⋯**, then choose **Reconnect**. Then check its switch is on in **Settings** > **Privacy**.
  </Accordion>

  <Accordion title="My second mailbox didn't catch up on old email">
    Only the first mailbox you connect catches up on the last 30 days. Any mailbox after that is kept in sync from the moment you connect it.
  </Accordion>
</AccordionGroup>

## Next steps

<Columns cols={2}>
  <Card title="Your Voice Profile" icon="pen-line" href="/docs/using-soda/voice-profile">
    How Soda learns to write like you.
  </Card>

  <Card title="Exclude people and domains" icon="user-x" href="/docs/memory/exclude-people-and-domains">
    Keep someone out of your memory.
  </Card>
</Columns>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.