# Use Gmail with ChatGPT, Claude and other AI assistants

[Use Gmail with Pear](https://pearmcp.com/gmail). Gmail is available to everyone through a mailbox connection using IMAP/SMTP and a Google app password.

## Connect Gmail

1. [Turn on 2-Step Verification](https://myaccount.google.com/signinoptions/two-step-verification) in your Google Account.
2. [Create a Google app password](https://myaccount.google.com/apppasswords) and name it Pear.
3. [Add a mailbox in Pear](https://pearmcp.com/login?next=%2Fonboarding%3Fprovider%3Dgmail) and enter your full Gmail address and app password.

The Gmail preset uses imap.gmail.com:993 with SSL and smtp.gmail.com:587 with STARTTLS. See the [Gmail setup guide](https://pearmcp.com/email-providers/gmail) for settings and troubleshooting.

## Try asking

- Search all my Gmail for the archived travel receipt. Read the message and extract the total from the attachment.
- List my folders, move the itinerary to Travel, mark it read and archive the confirmation. Move the duplicate to Bin.
- Download the invoice. Create a reply in Gmail Drafts with my signature, edit the date and attach the revised invoice. Send the draft when I ask.
- Send a new email with the receipt attached.

## Mailbox limits

- A Google Workspace administrator may block app passwords. Check your organisation’s policy before connecting a work mailbox.
- This mailbox connection does not add Google Calendar, Contacts or Tasks. Google sign-in for those services and send-only Gmail is coming soon, pending Google’s OAuth verification.
- Searching all mail excludes Spam and Bin.

## Frequently asked questions

- **How do I find a message I archived?** Search all mail for the sender or subject. Archived messages remain searchable after they leave the inbox.
- **Which password do I enter in Pear?** Use the app password you create for Pear in your Google Account. Keep your regular Google password private.
- **Where can I review a reply before sending?** Ask your assistant to save a draft, then open Drafts in Gmail to review the message and attachments.
- **Which actions can I use in my assistant?** Available tools depend on your client, permissions and plan. Choose the [ChatGPT guide](https://pearmcp.com/guides/chatgpt), [Claude guide](https://pearmcp.com/guides/claude) or [another client guide](https://pearmcp.com/docs).
