# Gmail

Add your Gmail account to Daylite for the iPhone.

1. Tap **Mail** on the toolbar
2. Tap **Add Account**
3. Next, select **Gmail** from the list of account types.

   <figure><img src="https://docs.daylite.app/help/~gitbook/image?url=https%3A%2F%2F2286785992-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaUk1zNEOMvXFQA9KtbIf%252Fuploads%252FJQxd9kvkz4n7YCvvkobP%252Fmail-management%255Cimporting-account2.png%3Falt%3Dmedia%26token%3D79617ed9-c585-48d1-9111-43d0e96c9de8&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=11ff3f75&#x26;sv=2" alt=""><figcaption></figcaption></figure>
4. 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.

   <figure><img src="https://docs.daylite.app/help/~gitbook/image?url=https%3A%2F%2F2286785992-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaUk1zNEOMvXFQA9KtbIf%252Fuploads%252FqdI3eXlCyvzplT8EIeaL%252Fmail-management%255Cname-and-description-fields.png%3Falt%3Dmedia%26token%3D4a7cb80a-c557-4e63-b016-e823901f71cf&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=563c2557&#x26;sv=2" alt=""><figcaption></figcaption></figure>
5. Log in to your [Google Account](https://accounts.google.com/Login) and choose **Manage Your Google Account**

   <figure><img src="https://docs.daylite.app/help/~gitbook/image?url=https%3A%2F%2F93104246-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FLlEWglZXDeBB1GqbJlKq%252Fuploads%252FgPJFTUGHWii2mIpwITle%252Fdaylite-mail-account%255Cgmail%255Cmanage-google-account.png%3Falt%3Dmedia%26token%3D6919c31c-ef0e-4f55-990e-afdbc4351fd6&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=8500d55a&#x26;sv=2" alt=""><figcaption></figcaption></figure>

   \ <br>

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p><strong>2-Step Verification Required</strong></p><p>You must enable 2-Step Verification on your Google Account to create an app password.</p><p>If you have already enabled 2-Step Verification, click <a href="https://myaccount.google.com/apppasswords">here</a> to create an App Password and proceed to Step 7.</p></div>

   \
   To turn on Google 2-Step Verification:
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).

   <figure><img src="https://docs.daylite.app/help/~gitbook/image?url=https%3A%2F%2F93104246-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FLlEWglZXDeBB1GqbJlKq%252Fuploads%252FWMB0FlvsRHmAdujz7g9z%252Fdaylite-mail-account%255Cgmail%255C2fa.png%3Falt%3Dmedia%26token%3D0d0e0752-3863-4aaa-ab3d-5d2d28a783a6&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=44038fe8&#x26;sv=2" alt=""><figcaption></figcaption></figure>
7. Once 2-Step Verification has been enabled, click [here](https://myaccount.google.com/apppasswords) to create an App Password.
8. Enter "Daylite" as the app name, then choose **Create**.

   <figure><img src="https://docs.daylite.app/help/~gitbook/image?url=https%3A%2F%2F93104246-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FLlEWglZXDeBB1GqbJlKq%252Fuploads%252FDwX1FMnw53zLXzq2K2mL%252Fdaylite-mail-account%255Cgmail%255Cname-app-password.png%3Falt%3Dmedia%26token%3Ddc484396-f330-4fc6-9f2f-baf7ba171cac&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=398e9631&#x26;sv=2" alt=""><figcaption></figcaption></figure>
9. Copy the App Password that has been generated and paste it into the Password field in Daylite. Click **Next** to finish adding your Gmail account to Daylite.

### Configure Gmail Labels

To use a Gmail account with Daylite Mail on iPadOS, certain labels need to be set to **Show in IMAP**. If not configured correctly, an error will be displayed when trying to sync your Gmail account.

**If you are experiencing this issue, please perform the following steps below**:

1. Log in to your Gmail account
2. Click the gear icon then choose **Settings**&#x20;
3. Choose **Forwarding and POP/IMAP** and select **Enable IMAP**
4. Under **Folder size limits**, select **Do not limit the number of messages in an IMAP folder (default):**
5. Click **Save Changes**
6. Choose **Labels** select **Show in IMAP** for
   1. All Mail
   2. Sent
   3. Spam
   4. Trash
7. Open the Daylite app on iOS and tap **My Mail**

Your Gmail account should now sync properly with Daylite and the error should be resolved.


---

# 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-iphone/getting-started/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.
