Gmail for Developers
  • Gmail for Developers

  • IMAP
  • English
  • Bahasa Indonesia
  • Deutsch
  • Español
  • Français
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어
Sign in
Connect alternative email clients to Gmail.
Home Guides Support
Gmail for Developers
  • Gmail for Developers

  • IMAP
  • Home
  • Guides
  • Support
  • Home
  • Google Workspace for Developers
  • Gmail for Developers
  • IMAP

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

Gmail IMAP

Overview of protocol, port setup, authentication, and sample code & libraries.
Overview XOAUTH2 Mechanism Libraries and Samples IMAP extensions
Use of Gmail IMAP is subject to the Google API Services: User Data Policy and Google APIs Terms of Service.
  • Blog Blog
    Read the Google Workspace Developers blog
  • Twitter Twitter
    Follow @workspacedevs on Twitter
  • Code Samples Code Samples
    Explore our sample apps or copy them to build your own
  • Codelabs Codelabs
    Try a guided, hands-on coding experience
  • Videos Videos
    Watch the developer playlist on YouTube
  • Google Workspace for Developers

    • Platform overview
    • Developer products
    • Developer support
    • Terms of Service
  • Tools

    • Admin Console
    • Apps Script Dashboard
    • Google Cloud console
  • Connect

    • Blog
    • Newsletter
    • Twitter
    • YouTube
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • Sign up for the Google Developers newsletter Subscribe
  • English
  • Bahasa Indonesia
  • Deutsch
  • Español
  • Français
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어