# Gmail

{% hint style="info" %}
These steps apply to both personal Gmail accounts and Google Workspace (business) accounts. Both require an app-specific password for security.
{% endhint %}

Add your Gmail account to Daylite.<br>

1. Go to **Daylite > Settings > Mail > Mail Accounts** and select **Add Mail Account**.<br>
2. Next, select **Gmail** from the list of account types.<br>
3. Enter the email address of your Gmail account. Daylite requires you to create an **app-specific password**. This is a different password than the one you use to sign into Gmail.<br>
4. Click **Next** to begin the guided setup.

<div align="left"><figure><img src="/files/O6XRrx0JQpwD21UaX6u7" alt=""><figcaption></figcaption></figure></div>

First, you must turn on 2-Step Verification in your Google Account. This is required before you can create an App Password. If you have already enabled 2-Step Verification, move to step 7.<br>

5. Log in to your [Google Account](https://accounts.google.com/Login) and choose **Manage Your Google Account**

<div align="left"><figure><img src="/files/q70y6mzZ7TEy0B3AZSkQ" alt=""><figcaption></figcaption></figure></div>

6. Select **Security > How you sign in to Google > 2-Step Verification**. If you need more detailed instructions, follow [this article from Google](https://support.google.com/accounts/answer/185839).

<div align="left"><figure><img src="/files/BJh3yQ4jev02UzEdbCwf" alt=""><figcaption></figcaption></figure></div>

In Daylite, check the box **"I've enabled 2-Step Verification"** and click **Next** to proceed to creating an App Password.

<div align="left"><figure><img src="/files/09lbhpt8aP2LwfMhbfcA" alt=""><figcaption></figcaption></figure></div>

Next, you must set up an **App Password** for Daylite under your Google account. Click [here](https://myaccount.google.com/apppasswords) to create an App Password.<br>

7. On the Google App Passwords page:

* Enter "`Daylite`" as the app name and click **Create**.

<div align="left"><figure><img src="/files/Rtrc53webZocHLeMoMYV" alt=""><figcaption></figcaption></figure></div>

***

### Troubleshooting

**Google Workspace Accounts**

If you're using a Google Workspace account and cannot add your account:

* Check with your IT administrator to ensure IMAP access is enabled for your organization
* Verify that less secure app access policies allow third-party applications
* Confirm that 2-Step Verification is permitted by your organization's security policies
* Google will display a 16-digit App Password. Copy this password.

8. Return to Daylite, select the **I've set up an App Password** checkbox, and click **Next**.

<div align="left"><figure><img src="/files/xAhxDBAp7vXYxKbzVAYC" alt=""><figcaption></figcaption></figure></div>

9. Paste the 16-digit App Password you just generated into the Password field.

<div align="left"><figure><img src="/files/NJsLac0oi01yz3MF5AMd" alt=""><figcaption></figcaption></figure></div>

10. Click **Next**. Your Gmail account is now added to Daylite.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.daylite.app/help/learn/mail-management/add-mail-account/gmail.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
