![](https://www.gstatic.com/images/branding/productlogos/gmail_2026/v2/web-64dp/logo_gmail_2026_color_2x_web_64dp.png)

## Develop Gmail solutions.

### Enhance the Gmail experience

Insert interactive content, powered by your account data or an external service, with **add-ons** and **Chat apps** .

- Show relevant sales contracts next to a user's email with a customer.
- Enforce automated policy checks for every email sent.
- Create an interactive chatbot powered by your service.
[View documentation](http://developers.google.com/workspace/add-ons/gmail.md.txt) [Learn about add-ons](http://developers.google.com/workspace/add-ons)

### Automate Gmail with simple code

Anyone can use **Apps Script** to automate and enhance Gmail in a web-based, low-code environment.

- Send emails based on updates in a spreadsheet.
- Automate reminder emails about changing team assignments.
[View documentation](http://developers.google.com/apps-script/reference/gmail.md.txt) [Learn about Apps Script](http://developers.google.com/apps-script) [Video](https://www.youtube.com/watch?v=h7nYnzGQp9k)

### Build AI-powered Gmail solutions

Discover and try Gmail samples that help you get started with building AI features using AI models, agents, platforms, and more. [Explore samples catalog](http://developers.google.com/workspace/add-ons/samples.md.txt?product=gmail)

### Gmail message analyzer

Build an add-on that analyzes and labels Gmail messages with Gemini and Vertex AI. [Open tutorial](http://developers.google.com/workspace/add-ons/samples/gmail-sentiment-analysis-ai.md.txt)

### Travel Concierge agent

Build an AI agent add-on that integrates with ADK and Vertex AI Agent Engine. [Open tutorial](http://developers.google.com/workspace/add-ons/samples/travel-concierge.md.txt)

### Gemini Enterprise Agents

Build Gemini Enterprise agents that are tightly integrated with Workspace data stores, APIs, and add ons. [Open codelab](https://codelabs.developers.google.com/ge-gws-agents)

### Vertex AI Agents

Build Vertex AI agents that are tightly integrated with Workspace data stores, APIs, and add ons. [Open codelab](https://codelabs.developers.google.com/vertexai-gws-agents)

### Connect your service to Gmail

Use the APIs below to interact programmatically with Gmail.

### [Gmail API](http://developers.google.com/workspace/gmail/api/guides.md.txt)

**Interact with users' Gmail inboxes and settings** with several popular programming languages, such as Java, JavaScript, and Python. [View documentation](http://developers.google.com/workspace/gmail/api/guides.md.txt) [Try it out](http://developers.google.com/workspace/gmail/api/reference/rest/v1/users.settings/getVacation.md.txt)

### [IMAP for Gmail](http://developers.google.com/workspace/gmail/imap/imap-smtp.md.txt)

**Connect your alternative email client** with Gmail user accounts using industry standard IMAP and SMTP protocols. [View documentation](http://developers.google.com/workspace/gmail/imap/imap-smtp.md.txt)

### [Postmaster Tools API](http://developers.google.com/workspace/gmail/postmaster.md.txt)

**Gather bulk email metrics** to track large volumes of emails sent and monitor your sending domain. [View documentation](http://developers.google.com/workspace/gmail/postmaster.md.txt) [Try it out](http://developers.google.com/workspace/gmail/postmaster/reference/rest/v2/domains.domainStats/query.md.txt)

### [Android content provider](http://developers.google.com/workspace/gmail/android.md.txt)

**Retrieve Android Gmail app metadata**, like name and unread count. [View documentation](http://developers.google.com/workspace/gmail/android.md.txt)

### Design better, more engaging emails

Use the following tools and resources to optimize email sends for your organization.

### [AMP for Gmail](http://developers.google.com/workspace/gmail/ampemail.md.txt)

**Let users interact dynamically with email content,** such as email containing image carousels and accordions. AMP emails can refresh their content and allow readers to interact with a form without leaving the Gmail client. [View documentation](http://developers.google.com/workspace/gmail/ampemail.md.txt)

### [Email promotions](http://developers.google.com/workspace/gmail/promotab)

**Elevate your emails in the Promotions tab** with annotations that bring email messages to life. [View documentation](http://developers.google.com/workspace/gmail/promotab)

### [Email markup](http://developers.google.com/workspace/gmail/markup/overview.md.txt)

**Highlight key information in your emails,** making email content interactive and increasing engagement. [View documentation](http://developers.google.com/workspace/gmail/markup/overview.md.txt)

### [Gmail sender resources](http://developers.google.com/workspace/gmail/design/css.md.txt)

**Ensure your emails are well-formatted and actionable** with Gmail's variety of design tools. [View documentation](http://developers.google.com/workspace/gmail/design/css.md.txt)