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.

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.

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.

Gmail message analyzer

Build an add-on that analyzes and labels Gmail messages with Gemini and Vertex AI.

Travel Concierge agent

Build an AI agent add-on that integrates with ADK and Vertex AI Agent Engine.

Connect your service to Gmail

Use the APIs below to interact programmatically with Gmail.

Gmail API

Interact with users' Gmail inboxes and settings with several popular programming languages, such as Java, JavaScript, and Python.

IMAP for Gmail

Connect your alternative email client with Gmail user accounts using industry standard IMAP and SMTP protocols.

Postmaster Tools API

Gather bulk email metrics to track large volumes of emails sent and monitor your sending domain.

Android content provider

Retrieve Android Gmail app metadata, like name and unread count.

Design better, more engaging emails

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

AMP for Gmail

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.

Email promotions

Elevate your emails in the Promotions tab with annotations that bring email messages to life.

Email markup

Highlight key information in your emails, making email content interactive and increasing engagement.

Gmail sender resources

Ensure your emails are well-formatted and actionable with Gmail’s variety of design tools.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月02日 UTC.